13
0
Commit Graph

1508 Commits

Author SHA1 Message Date
51ef434382 make meter point button work again, and allow momentary button action to work again
git-svn-id: svn://localhost/ardour2/branches/3.0@5161 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-11 00:44:48 +00:00
Carl Hetherington
52fc310cfb Make waveform show / scale / shape a global option in the prefs dialog to clean things up a bit. Options to make exceptions for individual tracks could be re-added, if people want them.
git-svn-id: svn://localhost/ardour2/branches/3.0@5160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 21:58:25 +00:00
Carl Hetherington
2efc80da17 Fix cursor dragging in mouse gain mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@5159 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 21:35:51 +00:00
Carl Hetherington
dc6007cdb7 Cleanup to snap handling; fixes #2688
git-svn-id: svn://localhost/ardour2/branches/3.0@5158 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 21:31:00 +00:00
Carl Hetherington
6532d139ec Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5157 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 21:09:46 +00:00
6e9b9294e1 nick m's fix for markers etc ; several tweaks for mute/solo ; rename run_in_place() as run()
git-svn-id: svn://localhost/ardour2/branches/3.0@5155 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 18:10:07 +00:00
cc8598b071 support scrubbing via new Drag abstraction (probably could be split off 100% from Editor)
git-svn-id: svn://localhost/ardour2/branches/3.0@5152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 13:58:22 +00:00
Carl Hetherington
41eedb1f63 Fix drag of region gain control points and lines.
git-svn-id: svn://localhost/ardour2/branches/3.0@5149 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 01:23:53 +00:00
Carl Hetherington
d039e2e80f Fix up port matrix for new Route / IO arrangements.
git-svn-id: svn://localhost/ardour2/branches/3.0@5143 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 23:43:20 +00:00
e6eb059576 the big Route structure refactor. !!!! THIS WILL ***NOT LOAD*** PRIOR 3.0 or 2.X SESSIONS !!!! BREAKAGE IS EXPECTED !!!! IF YOU HAVE AND NEED A WORKING 3.0 DO **NOT** UPDATE. !!!! otherwise, update and enjoy the steadily emerging joys of this major reworking of ardour internals
git-svn-id: svn://localhost/ardour2/branches/3.0@5137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 20:21:19 +00:00
Carl Hetherington
9bd274bfde Fix previous commit in debug mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@5136 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 16:32:20 +00:00
Carl Hetherington
7f3e6769b3 Fix a drag crash and some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 15:46:33 +00:00
Carl Hetherington
a71daf6a06 Fix daft bugs causing crashes on dragging tempo markers.
git-svn-id: svn://localhost/ardour2/branches/3.0@5134 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 08:41:43 +00:00
Carl Hetherington
960f266b9f Fix tranzport and SCons builds.
git-svn-id: svn://localhost/ardour2/branches/3.0@5133 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 23:58:46 +00:00
Carl Hetherington
41c5bff442 Allow Insert Time option to move tempos and time sig changes, as per #1951.
git-svn-id: svn://localhost/ardour2/branches/3.0@5132 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 23:24:14 +00:00
Carl Hetherington
bf5111c90d Clean up the insert time dialog a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@5131 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 22:59:27 +00:00
Carl Hetherington
6475590847 Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 22:15:40 +00:00
Carl Hetherington
ba0e0d390e Fix oddities when dragging regions below the bottom visible track.
git-svn-id: svn://localhost/ardour2/branches/3.0@5129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 22:10:27 +00:00
Carl Hetherington
fb83e8ef14 Fix dragging crash.
git-svn-id: svn://localhost/ardour2/branches/3.0@5128 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 21:53:45 +00:00
Carl Hetherington
0874426a5b Further refactoring of drag code. Changes so that drags from the region list display a region view during the drag.
git-svn-id: svn://localhost/ardour2/branches/3.0@5127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 19:28:51 +00:00
Carl Hetherington
a75e811edb Use sigc::slots rather than templates + function ptrs for a foreach_region and foreach_crossfade.
git-svn-id: svn://localhost/ardour2/branches/3.0@5118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-03 00:23:34 +00:00
Carl Hetherington
27915ccdc0 Clean up use of first_move, move thresholding etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@5116 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-02 00:39:57 +00:00
Carl Hetherington
ac8c034908 Some small cleanups to dragging.
git-svn-id: svn://localhost/ardour2/branches/3.0@5115 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-01 23:16:36 +00:00
Carl Hetherington
68f8631611 Fix uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5114 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-31 09:57:22 +00:00
Carl Hetherington
962efaf05e Pull dragging code out of the Editor class into its own hierarchy.
git-svn-id: svn://localhost/ardour2/branches/3.0@5113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-30 18:25:59 +00:00
Carl Hetherington
139d621103 Fix SCons build.
git-svn-id: svn://localhost/ardour2/branches/3.0@5112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-25 17:56:34 +00:00
Nick Mainsbridge
889951245d Fix tape region view crash.
git-svn-id: svn://localhost/ardour2/branches/3.0@5110 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-22 11:58:46 +00:00
Nick Mainsbridge
882e3a690a A different fix for record crash, use pixfufs instead of canvas text in markers, use leftmost_frame instead of querying canvas coords when scrolling (speeds up canvas scrolling somewhat), remove old include, remove first_action_message and some other unused methods.
git-svn-id: svn://localhost/ardour2/branches/3.0@5108 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-21 17:30:45 +00:00
Carl Hetherington
d1ee2a06ca Restore configuration of click IO connections to session options dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@5107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-20 20:54:07 +00:00
Carl Hetherington
74d319b7ff Remove some unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@5106 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-20 19:42:57 +00:00
Carl Hetherington
18c787e3bb Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@5105 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-20 18:16:30 +00:00
Carl Hetherington
64524c0ba4 Make pan double-click entry work in percentage left or right. Write pan position to the panner as text (except when centered). Use a virtual function rather than a signal for BarController labels.
git-svn-id: svn://localhost/ardour2/branches/3.0@5104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-20 13:28:30 +00:00
Carl Hetherington
dbe20bd3a9 Patch from tinram to put a border round the startup dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@5099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-18 00:26:45 +00:00
Carl Hetherington
01217e64f8 Patch from agorka to add some includes required for building with the GCC shipped with Ubuntu Karmic.
git-svn-id: svn://localhost/ardour2/branches/3.0@5098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-18 00:21:17 +00:00
5a4d340b42 Das BlinkenSendButtons
git-svn-id: svn://localhost/ardour2/branches/3.0@5097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-17 17:05:56 +00:00
Sampo Savolainen
d1f09a9403 Correct name(tm)
git-svn-id: svn://localhost/ardour2/branches/3.0@5095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-17 14:17:46 +00:00
Sampo Savolainen
358072bcc1 Use the same name as in 2.0
git-svn-id: svn://localhost/ardour2/branches/3.0@5094 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-17 14:16:24 +00:00
6001b8d28d send control now has working metering, and switches back and forth between busses etc. correctly.
git-svn-id: svn://localhost/ardour2/branches/3.0@5092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-17 14:11:16 +00:00
7a5eed3048 allow waf (& hopefully still scons) to correctly generate key bindings files
git-svn-id: svn://localhost/ardour2/branches/3.0@5091 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-17 03:06:33 +00:00
7deb14773b 75% (?) of the way towards making mixer strips control bus sends. lots more to do
git-svn-id: svn://localhost/ardour2/branches/3.0@5090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-17 02:08:13 +00:00
Carl Hetherington
091bd8a778 Make MIDI prefs have an effect.
git-svn-id: svn://localhost/ardour2/branches/3.0@5089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 19:18:07 +00:00
Carl Hetherington
73a6b8ef25 Move control surface options into RC prefs editor. Remove Options menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@5088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 14:50:10 +00:00
Carl Hetherington
a53fa597ed Nearly remove Options menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@5086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 03:37:54 +00:00
Carl Hetherington
400d2a86aa Remove preferences menu options that have been moved into one or other preferences dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@5085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 03:20:57 +00:00
ace07c80a8 a gadzillion changes all over the place. nothing is finished, but all is better than it was. more to come on all almost everything touched by this commit, this is purely a sync-to-repository. compiles and runs, but now incompatible with all previous 3.0 session files (probably)
git-svn-id: svn://localhost/ardour2/branches/3.0@5084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 02:51:17 +00:00
Carl Hetherington
86dda29be7 Move some sync-related options to being session variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@5083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 01:53:43 +00:00
Carl Hetherington
29e8fe1698 Add session preferences dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@5082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 01:22:43 +00:00
Carl Hetherington
f4e6f8fec5 Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-15 21:36:37 +00:00
Sampo Savolainen
be5d49bdac Make sure the plugin analysis will appear in the VST gui when VST's compile in 3.0
git-svn-id: svn://localhost/ardour2/branches/3.0@5079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-14 20:18:09 +00:00
Sampo Savolainen
7d2e28bba0 Initialize name_pixbuf and make sure set_name_text doesn't do anything if there is no name_pixbuf.
git-svn-id: svn://localhost/ardour2/branches/3.0@5078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-14 20:16:01 +00:00
Carl Hetherington
6cf41417a0 Add missing files from last commit, as per.
git-svn-id: svn://localhost/ardour2/branches/3.0@5076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-14 00:15:38 +00:00
Carl Hetherington
015fc7b39f First stage of options rework.
- Split Configuration into RCConfiguration and SessionConfiguration;
the first for options which are saved to .rc files and the second
for options which are saved in a session file.

- Move some options from the old `master' Configuration object into
SessionConfiguration; this needs more refinement.

- Reflect many RCConfiguration options in an expanded Edit->Preferences
dialog; my intention is to remove the corresponding menu items
eventually.



git-svn-id: svn://localhost/ardour2/branches/3.0@5075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-14 00:13:27 +00:00
0569107ddc more work on the new all-Processor-all-The-Time redesign of Route - LOTS OF BREAKAGE STILL EXPECTED ; change all(?) methods that pass a start/end frame in to use sframes_t not nframes_t
git-svn-id: svn://localhost/ardour2/branches/3.0@5074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-13 21:34:09 +00:00
Nick Mainsbridge
7188ec3990 Remove some extraneous includes. reorder some others (fixes compilation on fedora 10).
git-svn-id: svn://localhost/ardour2/branches/3.0@5073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-13 16:04:41 +00:00
Nick Mainsbridge
72f1209520 Use pixbufs as region name labels rather than Gnome::Canvas::Text. Don't set height on every regionview in non-stacked mode in StreamView::add_region_view (speeds up some playlist operations).
git-svn-id: svn://localhost/ardour2/branches/3.0@5071 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-13 15:33:41 +00:00
Sampo Savolainen
8838875bd6 Changes missing from previous commit
git-svn-id: svn://localhost/ardour2/branches/3.0@5070 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-12 19:10:31 +00:00
Carl Hetherington
3b89d9eaa0 Remove most using declarations from header files.
git-svn-id: svn://localhost/ardour2/branches/3.0@5069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-12 17:03:42 +00:00
Carl Hetherington
2e5c935990 Add missing connection to Editor::route_list_reordered
git-svn-id: svn://localhost/ardour2/branches/3.0@5068 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-12 00:24:59 +00:00
Sampo Savolainen
764e6f919f Use an expander properly to control the visibility of plugin analysis.
git-svn-id: svn://localhost/ardour2/branches/3.0@5067 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-08 17:21:17 +00:00
731de16c07 Fix Scons build.
git-svn-id: svn://localhost/ardour2/branches/3.0@5063 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 18:00:29 +00:00
2c231282ba Returns (i.e. sidechains).
And lo, upon the revision of our hoarde 5061, was the last Big Feature
committed to Three Poino, who, now more than ever, lurks imposingly on
the sidelines, heir to the throne, and eventual ruler of the realm.
His eventual succession all but guaranteed, only time and the number
of heads that must roll remain mysteries.


git-svn-id: svn://localhost/ardour2/branches/3.0@5061 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 17:31:18 +00:00
Carl Hetherington
0c0e5be2e9 Gah. Remove debug output from previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@5058 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 12:24:58 +00:00
Carl Hetherington
2cea8620b5 Ask user to confirm overwrite of a snapshot, to fix mantis 2656.
git-svn-id: svn://localhost/ardour2/branches/3.0@5057 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 12:24:03 +00:00
Carl Hetherington
a63ae4be80 Lincoln's patch to fix mantis 2584.
git-svn-id: svn://localhost/ardour2/branches/3.0@5056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 11:50:02 +00:00
7183242b8c The great audio processing overhaul.
The vast majority of Route signal processing is now simply in the list of
processors.  There are definitely regressions here, but there's also
a lot of things fixed.  It's far too much work to let diverge anymore
regardless, so here it is.

The basic model is: A route has a fixed set of input channels (matching
its JACK input ports and diskstream).  The first processor takes this
as input.  The next processor is configured using the first processor's
output as input, and is allowed to choose whatever output it wants
given that input... and so on, and so on.  Finally, the last processor's
requested output is used to set up the panner and create whatever Jack
ports are needed to output the data.

All 'special' internal processors (meter, fader, amp, insert, send) are
currently transparent: they read any input, and return the same set
of channels back (unmodified, except for amp).

User visible changes:
 * LV2 Instrument support (tracks with both MIDI and audio channels)
 * MIDI in/out plugin support
 * Generic plugin replication (for MIDI plugins, MIDI/audio plugins)
 * Movable meter point

Known Bugs:
 * Things seem to get weird on loaded sessions
 * Output delivery is sketchy
 * 2.0 session loading was probably already broken...
   but it's definitely broken now :)

Please test this and file bugs if you have any time...



git-svn-id: svn://localhost/ardour2/branches/3.0@5055 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 06:30:50 +00:00
83c27fa888 Support recursive undo events.
Code can now call begin_reversible_command and commit_reversible_command around a region
of code which itself calls those functions (and so on), areas contained within enclosing
regions will be added as sub-commands of the current command (i.e. it's a stack).

Fixes mantix issue #0002558.


git-svn-id: svn://localhost/ardour2/branches/3.0@5051 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-05 01:53:30 +00:00
90c82a97a7 Fix indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@5050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-05 01:24:44 +00:00
006d3a9f46 Fix note dragging.
git-svn-id: svn://localhost/ardour2/branches/3.0@5049 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-05 00:57:08 +00:00
6c93b8c44f Remove useless/broken concept of 'erase touch dragging'.
git-svn-id: svn://localhost/ardour2/branches/3.0@5048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-05 00:18:21 +00:00
7863c03cfc Make MIDI note editing work somewhat again...
Only show note velocity text when the user is actually editing velocity.


git-svn-id: svn://localhost/ardour2/branches/3.0@5047 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-05 00:08:30 +00:00
d3d1e2c286 Strip trailing whitespace from waf scripts.
git-svn-id: svn://localhost/ardour2/branches/3.0@5045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 22:10:15 +00:00
Carl Hetherington
d76a5d9958 A few small layout cleanups.
git-svn-id: svn://localhost/ardour2/branches/3.0@5044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 21:36:45 +00:00
49f28513f5 clean up that godawful ugly latency GUI in plugin UIs
git-svn-id: svn://localhost/ardour2/branches/3.0@5038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 17:49:28 +00:00
807bc4c3d6 Reconfigure GUI meters when route I/O configuration changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@5037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 17:05:55 +00:00
ca10cc82a4 Preliminary MIDI plugin support.
git-svn-id: svn://localhost/ardour2/branches/3.0@5036 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 15:50:51 +00:00
9b06b1da0c slv2 also needs lrdf
git-svn-id: svn://localhost/ardour2/branches/3.0@5035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 14:54:53 +00:00
a0696c2406 Use SLV2.
git-svn-id: svn://localhost/ardour2/branches/3.0@5034 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 14:32:04 +00:00
97ac92a781 Build lv2_plugin_ui.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@5033 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 14:28:29 +00:00
4d4f6ee9e5 Remove tmpnam usage.
git-svn-id: svn://localhost/ardour2/branches/3.0@5032 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 02:50:58 +00:00
8491953e20 Fix LV2 compilation.
git-svn-id: svn://localhost/ardour2/branches/3.0@5030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-03 19:53:09 +00:00
Carl Hetherington
1ae39840b3 Support for the port matrix working at the bundle level and hiding details of ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@5029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-03 14:31:42 +00:00
Sakari Bergen
7e48118bf1 * Fix tooltips in the session import dialog
* Fix arval to run from all directories


git-svn-id: svn://localhost/ardour2/branches/3.0@5028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-02 20:26:11 +00:00
c7733b443a Fix LV2 plugin support.
git-svn-id: svn://localhost/ardour2/branches/3.0@5027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-02 18:13:24 +00:00
Carl Hetherington
918371d52a Couple of fixes to route / mixer strip ordering which should hopefully stop the random re-ordering on startup.
git-svn-id: svn://localhost/ardour2/branches/3.0@5026 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-01 20:30:57 +00:00
Carl Hetherington
c4656b5c09 Set up rulers to prevent access to uninitialized variables later.
git-svn-id: svn://localhost/ardour2/branches/3.0@5025 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-01 20:30:22 +00:00
Carl Hetherington
c724b85839 Fix a couple of valgrind-spotted out-of-bounds accesses that may have been causing segfaults, especially when opening the crossfade editor dialog. Some minor cleanups. Add some comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@5020 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 18:45:45 +00:00
62fe887e24 fix crash during new session setup related to template choice
git-svn-id: svn://localhost/ardour2/branches/3.0@5019 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 18:17:02 +00:00
Carl Hetherington
57e1c28750 Preview effect of strip silence within the dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@5017 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 17:07:57 +00:00
8a7e3f17f4 implement panner reset functionality (missing since 0.99?) ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 15:04:16 +00:00
075f5170ef disk buffer stats patch ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 15:03:55 +00:00
Carl Hetherington
e41527d5ba Only make record button solid red (and big clock red) when things are actually being recorded (ie when record is in progress and one or more tracks are armed). As per mantis #2604.
git-svn-id: svn://localhost/ardour2/branches/3.0@5012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 17:30:35 +00:00
Carl Hetherington
9e776feac6 Add files missing from previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@5011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 17:05:42 +00:00
Carl Hetherington
459c439512 First cut of option to strip silence from audio regions, as per mantis #1623
git-svn-id: svn://localhost/ardour2/branches/3.0@5010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 17:01:14 +00:00
Carl Hetherington
7eba373a0f Disallow click and auditioner as track / buss names to avoid clashing with internal IOs.
git-svn-id: svn://localhost/ardour2/branches/3.0@5009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 16:15:33 +00:00
Carl Hetherington
6389398992 Fix compiler warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@5007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 16:01:11 +00:00
77bb36bbe0 carl's small fix for new session
git-svn-id: svn://localhost/ardour2/branches/3.0@5005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-28 11:57:53 +00:00
6d52370558 more misc. startup/session load fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@5001 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 19:41:14 +00:00
41d3f3519c misc. startup/session load fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@5000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 19:28:17 +00:00
2836879341 remove offset from process callback tree. some breakage may have occured. yes, really.
git-svn-id: svn://localhost/ardour2/branches/3.0@4999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 17:48:37 +00:00
7c4bfd9b24 switch meter colors
git-svn-id: svn://localhost/ardour2/branches/3.0@4997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 17:42:25 +00:00
18b94f129d lincoln's route connection cleanup patch
git-svn-id: svn://localhost/ardour2/branches/3.0@4996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-22 01:49:48 +00:00
c287ebec9b a long tricky day of playing with ArdourStartup and session naming/loading etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@4995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-22 01:35:31 +00:00
0d36301907 3 notable patches from lincoln (a) non-layered track mode (NOTE: this is broken for loop recording right now) (b) trim region to previous/next region (c) region push/pull trimming. work on these 3 features should be assumed to be still slightly ongoing (eg. default bindings and more). great stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@4994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-20 21:02:46 +00:00
f19c01bbb4 fixes for possible null engine dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@4993 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-20 21:00:30 +00:00
0513474072 farewell NSD, we loved you sometimes, almost never
git-svn-id: svn://localhost/ardour2/branches/3.0@4992 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-20 18:41:46 +00:00
3ae378a17c Upgrade to waf 1.5.4.
git-svn-id: svn://localhost/ardour2/branches/3.0@4991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-18 16:15:12 +00:00
ed1fa35774 Fix indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@4989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-17 00:03:27 +00:00
a4b8955f3e part 2 of 3 of the 2.8 -> 3.0 merge
git-svn-id: svn://localhost/ardour2/branches/3.0@4987 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 16:02:25 +00:00
54d9f2f2d8 first half of the mega-by-hand-commit-by-commit merge from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@4980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-15 18:04:23 +00:00
Sampo Savolainen
a99ea55e68 Chris's work on the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@4920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-28 16:17:51 +00:00
22a80d4ffd (from 2.x) make context menu-driven stuff on ruler bars happen in the right place (e.g. new markers)
git-svn-id: svn://localhost/ardour2/branches/3.0@4878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-21 13:08:06 +00:00
Hans Baier
4627ab1048 main.cc: conditional compile for startup dialog since it makes MIDI Clock ticker crash on startup (race?)
git-svn-id: svn://localhost/ardour2/branches/3.0@4840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-16 14:25:06 +00:00
Hans Baier
8cbf97c27c ArdourStartup: fix new_folder_chooser
git-svn-id: svn://localhost/ardour2/branches/3.0@4839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-15 22:17:03 +00:00
Sakari Bergen
ab47be7b5a Some preparations for allowing multiple channel configurations in export channel configurations.
Also unified the timespan selector interface...


git-svn-id: svn://localhost/ardour2/branches/3.0@4748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-08 10:56:40 +00:00
b669de1e97 fix crash when renaming a track after deleting a plugin that had a visible GUI/editor window
git-svn-id: svn://localhost/ardour2/branches/3.0@4747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-07 14:06:19 +00:00
Sampo Savolainen
bcd217ec8e Improvements to the plugin eq gui:
- phase correction for analysis
 - move gui elements to a more common location so that it's available for VSTs
   (needs packing in each PluginUI derived class though)


git-svn-id: svn://localhost/ardour2/branches/3.0@4745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-07 11:17:06 +00:00
Sakari Bergen
e09c51251f Fix compiler warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@4744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-07 09:42:39 +00:00
Sampo Savolainen
bb20bcc7b6 Make it possible to consolidate/bounce ranges without applying processing
git-svn-id: svn://localhost/ardour2/branches/3.0@4743 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06 19:28:39 +00:00
0697aed059 combobox width fixes from mtaht, backported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@4742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06 17:06:38 +00:00
a9d6d16214 new crossfade editor icons from markus s.
git-svn-id: svn://localhost/ardour2/branches/3.0@4739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06 15:18:33 +00:00
d50b65773a fix up kludgy assumptions about mixer strip route ops menu ordering
git-svn-id: svn://localhost/ardour2/branches/3.0@4734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-05 17:25:52 +00:00
922e79c94a new startup assistant/wizard; unfinished; can potentially interfere with your normal session startup. no comments other than aesthetics, please (which are not ideal at present); a few fixes to waf-based scripts
git-svn-id: svn://localhost/ardour2/branches/3.0@4729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-04 23:06:18 +00:00
3bea6df989 Less crufty building of the C components of gtk2_ardour.
git-svn-id: svn://localhost/ardour2/branches/3.0@4727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-04 19:35:25 +00:00
97f022575c Fix build. Ahem.
git-svn-id: svn://localhost/ardour2/branches/3.0@4718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 18:26:08 +00:00
8f5de18c75 remove unneeded code in line_drag that was probably copy/pasted from control_point_drag (Ben Loftis, backported from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@4716 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 18:10:12 +00:00
7a5adcbe72 allow dragging of automation lines (Ben Loftis, backported from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@4715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 18:08:15 +00:00
Carl Hetherington
5b5957c195 Allow running from any directory.
git-svn-id: svn://localhost/ardour2/branches/3.0@4710 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-01 19:44:32 +00:00
Carl Hetherington
edee84d014 Fix #2559; crash when doing end_grab on an already-deleted canvas item.
git-svn-id: svn://localhost/ardour2/branches/3.0@4709 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-28 01:52:45 +00:00
Carl Hetherington
1f81c127fe Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 23:26:52 +00:00
Carl Hetherington
baf51996c4 Set thread done flag when freeze completes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4706 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 23:26:10 +00:00
9d52ae2f19 tweaks to get a VST-supporting 3.0 to build & startup
git-svn-id: svn://localhost/ardour2/branches/3.0@4705 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 22:52:39 +00:00
Carl Hetherington
2c7b27d7ae Fix up ardev etc. scripts so that they can be run from any directory.
git-svn-id: svn://localhost/ardour2/branches/3.0@4704 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 21:16:02 +00:00
63189be1df vestige-based VST support, back-ported from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/branches/3.0@4703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 17:11:21 +00:00
903c0863d9 Waf: install stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@4702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 04:40:44 +00:00
ca28b2460a Remove apparently unnecessary friend declarations.
git-svn-id: svn://localhost/ardour2/branches/3.0@4699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 01:26:47 +00:00
eeae6aec34 Split TimeFXDialog from Editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@4698 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 01:20:25 +00:00
9f77cd9e19 Step towards having both rubberband and soundtouch compiled in at once.
git-svn-id: svn://localhost/ardour2/branches/3.0@4697 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 00:59:30 +00:00
60b0022d75 Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@4696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 00:49:24 +00:00
6c29fe7fd0 fix ardbg scripts after cd .. was removed
git-svn-id: svn://localhost/ardour2/branches/3.0@4693 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 23:45:03 +00:00
9ed81fdd6e remove silly cd .. in ard* scripts
git-svn-id: svn://localhost/ardour2/branches/3.0@4692 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 23:43:10 +00:00
6a0608847a 2nd part of fix for botched shared-fixup of ard* scripts
git-svn-id: svn://localhost/ardour2/branches/3.0@4691 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 23:31:41 +00:00
539a19a1eb Less weird name.
git-svn-id: svn://localhost/ardour2/branches/3.0@4690 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 23:27:48 +00:00
76dbfc5670 Fix running with ard*.sh scripts with waf build.
git-svn-id: svn://localhost/ardour2/branches/3.0@4689 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 23:24:50 +00:00
c841bb76dd unify ard* scripts for both scons & waf builds
git-svn-id: svn://localhost/ardour2/branches/3.0@4688 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 22:30:13 +00:00
acf0f59c0e Use stdin/stdout for menu file generation so waf picks up on the dependency.
Fix menu file generation on OSX.


git-svn-id: svn://localhost/ardour2/branches/3.0@4677 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 04:54:08 +00:00
0dac6b545b Waf: build UI/RC files, menu files, keybinding files, and fix paths in wrapper scripts.
Ardour should now build and run when built with waf from a clean svn checkout.


git-svn-id: svn://localhost/ardour2/branches/3.0@4676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 04:41:09 +00:00
76f242cb80 Version file building stuff.
Ardour should now compile from a fresh svn checkout using only waf.


git-svn-id: svn://localhost/ardour2/branches/3.0@4671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 02:24:16 +00:00
593ffe8033 Build VAmp plugins.
git-svn-id: svn://localhost/ardour2/branches/3.0@4670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 01:34:03 +00:00
1d516ac95a Waf building of rubberband.
Use rubberband over soundtouch with waf for the time being.


git-svn-id: svn://localhost/ardour2/branches/3.0@4669 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 01:22:20 +00:00
03536cd399 Fix a bunch of warnings.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 00:58:35 +00:00
49412d3852 Remove useless checks.
git-svn-id: svn://localhost/ardour2/branches/3.0@4666 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 00:01:29 +00:00
b7753d292b Add missing gtk2_ardour wscript.
Check for libraries in libardour wscript (instead of gtk2_ardour) where appropriate.


git-svn-id: svn://localhost/ardour2/branches/3.0@4665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 23:59:55 +00:00
6d8a42cc8e Wrapper scripts for waf built version.
git-svn-id: svn://localhost/ardour2/branches/3.0@4664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 23:51:37 +00:00
0c0e689d3c Waf building of gtk2_ardour.
git-svn-id: svn://localhost/ardour2/branches/3.0@4662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 23:21:49 +00:00
24f5ad743e Quote includes for control_protocol.
git-svn-id: svn://localhost/ardour2/branches/3.0@4656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 18:39:39 +00:00
e0aaed6d65 *** NEW CODING POLICY ***
All #include statements that include a header that is a part of a library
bundled with ardour MUST use quotes, not angle brackets.

Do this:

#include "ardour/types.h"

NOT this:

#include <ardour/types.h>

Rationale:

This is best practice in general, to ensure we include the local version
and not the system version.  That quotes mean "local" (in some sense)
and angle brackets mean "system" (in some sense) is a ubiquitous
convention and IIRC right in the C spec somewhere.

More pragmatically, this is required by (my) waf (stuff) for dependencies
to work correctly.  That is:

!!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!!

Failure to comply is punishable by death by torture. :)

P.S. It's not that dramatic in all cases, but this (in combination with some
GCC flags specific to the include type) is the best way I have found to be
absolutely 100% positive the local ones are being used (and we definitely
want to be absolutely 100% positive on that one).


git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 18:26:51 +00:00
c9582da233 Make source length a dynamic thing.
Update MIDI region length (actually and visually) when position changes.


git-svn-id: svn://localhost/ardour2/branches/3.0@4644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-20 00:30:42 +00:00
75c15679bf Only create a Curve for an AutomationList if we need it.
Fix crash on crossfade editor show (ticket 2442).


git-svn-id: svn://localhost/ardour2/branches/3.0@4641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 19:42:25 +00:00
c006ff1762 Fix crash when using pencil on empty track areas while zoomer is fully zoomed out (and probably pretty much everything else when track is fully zoomed out...).
git-svn-id: svn://localhost/ardour2/branches/3.0@4640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 18:10:50 +00:00
8a28ea6154 Introduce new time for session-relative frame time, and make source interface capable of handling 64-bit long sessions.
sframes_t is "session frames".  The rules for time stamps are:
 - Anything relative to transport time, session position, etc, should be sframes_t
 - Anything relative to jack cycles, including the length thereof, should be nframes_t

To support sessions which exceed UINT32_MAX frames, we need to replace all the uses of
nframes_t for session time with sframes_t, and make sure the conversions are sound.
This does not depend on jack's nframes_t; that we are using the same type at all right now was an oops.

This is also be kinda nice for readability since the two different time bases have different types...


git-svn-id: svn://localhost/ardour2/branches/3.0@4636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 05:45:11 +00:00
0f71728a92 Interpret tempo time based on read position (not source timeline position which is more or less meaningless).
Move time conversion into the region view rather than the source.
Adapt MIDI (including controllers) regions to the destination tempo when moved (e.g. dragging a region to a location with half the tempo will make the notes twice as long).


git-svn-id: svn://localhost/ardour2/branches/3.0@4635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 04:12:54 +00:00
6b8c6128cb Remove clear button from automation track headers so controller isn't cut off at normal/default track height.
git-svn-id: svn://localhost/ardour2/branches/3.0@4632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 00:37:18 +00:00
2e1332f74f Fix insane formatting (how did this even happen? copy paste from an email diff or something?).
git-svn-id: svn://localhost/ardour2/branches/3.0@4631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 00:25:24 +00:00
df329436ea I am become death, destroyer of boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@4630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 00:15:54 +00:00
cbb59ddbce Fix 'sticky' sliders when MIDI control feedback is enabled.
git-svn-id: svn://localhost/ardour2/branches/3.0@4628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 23:54:41 +00:00
1f9c3f34d9 Fix MIDI controller feedback.
Make control surfaces menu less weird.


git-svn-id: svn://localhost/ardour2/branches/3.0@4625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 20:53:54 +00:00
22088e77a7 Fix ardour2 -> ardour3 stuff in po files.
git-svn-id: svn://localhost/ardour2/branches/3.0@4623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 18:51:50 +00:00
227eca4054 Fix ardour2 -> ardour3 issues.
git-svn-id: svn://localhost/ardour2/branches/3.0@4622 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 18:32:13 +00:00
Carl Hetherington
deb2033a34 Make range selection context menu work again.
git-svn-id: svn://localhost/ardour2/branches/3.0@4611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 02:34:38 +00:00
b857756f60 Remove unnecessary/unused template parameter from canvas sysex flags.
Add license headers to canvas sysex files (tsk, tsk).


git-svn-id: svn://localhost/ardour2/branches/3.0@4610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 02:19:16 +00:00
022818b4a7 Fix the horrible mess that was anything related to sources and paths.
Most significant changes:

 - Factor out FileSource from AudioFileSource, use for SMFSource too
 - Explicitly pass embedded rather than mysterious name mangling or whatever
 - Destroy a ton of duplicated or very-nearly-duplicated code
 - Clean up and document all that weird source stuff in session.cc


git-svn-id: svn://localhost/ardour2/branches/3.0@4609 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 02:11:49 +00:00
Carl Hetherington
4565b73a39 Fix for visual glitch due to race between Editor::update_current_screen being called and a locate event being processed.
git-svn-id: svn://localhost/ardour2/branches/3.0@4608 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 00:12:22 +00:00
3e1eb6bcbd Fix crash on audio record (time converter segfault wackiness).
git-svn-id: svn://localhost/ardour2/branches/3.0@4607 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 23:32:59 +00:00
900309993c Move duplicated AudioFileSource::Flags and SMFSource::Flags into Source.
Clean up source stuff.


git-svn-id: svn://localhost/ardour2/branches/3.0@4605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 18:08:22 +00:00
Hans Baier
80e3845982 * First prototype of SysEx GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@4604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 09:51:40 +00:00
64bf6f004a Fix a bunch of the ol' trivial audio-specific-for-no-particular-reason things.
Re-addition of this sort of thing is now officially punishable by death ;)


git-svn-id: svn://localhost/ardour2/branches/3.0@4603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 07:04:27 +00:00
31a6e0b254 Fix time / positioning of PC flags (beat time).
Fix needless string copying in flag stuff.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 05:54:12 +00:00
de88640598 Don't do a linear search through controls for program change for no reason.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4600 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 05:33:23 +00:00
458c588e2c Don't bind playlist_modified with a shared_ptr<Playlist> parameter.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4599 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 05:13:05 +00:00
fb254fb2fc Fix crash when NullAutomation is created (which shouldn't be happening, but hey...).
git-svn-id: svn://localhost/ardour2/branches/3.0@4598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 04:53:01 +00:00
5f7b4de024 Time unit translation for AutomationLine (correctly display MIDI controller data).
git-svn-id: svn://localhost/ardour2/branches/3.0@4597 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 04:46:45 +00:00
3963d2b0b2 Move all beats <-> frames time conversion into a single object that can be passed around.
This has 3 main benefits:
 - All conversion code is in one place (less duplication, potential bugs)
 - The conversion method can be passed to things that are ignorant
   of the actual time units involved, information required, etc.
   (In the future it would be nice to have user selectable tempo/frame time)
 - It should be relatively simple now to support tempo changes part-way
   through a MIDI region (at least architecturally speaking)


git-svn-id: svn://localhost/ardour2/branches/3.0@4594 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 02:51:16 +00:00
beb3eea62b Fix horizontal positioning of PC flags.
git-svn-id: svn://localhost/ardour2/branches/3.0@4593 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 01:12:49 +00:00
1380f4fafb Trim include dependency tree (particularly on evoral/Sequence.hpp).
git-svn-id: svn://localhost/ardour2/branches/3.0@4589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 23:47:09 +00:00
5b71b9333a Bring the note mode menu back from the dead.
Fix percussive note (diamonds) placement.


git-svn-id: svn://localhost/ardour2/branches/3.0@4587 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 21:19:01 +00:00
59972b5550 Factor out region layering.
Correctly layer automation regions to match the stacking of their 'real' counterparts.


git-svn-id: svn://localhost/ardour2/branches/3.0@4585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 20:31:05 +00:00
9c89a93e4f Remove dead code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 19:56:06 +00:00
166395c96b Fix genererally retarded and broken note range / diskstream display / etc. related things (correctly display region contents on initial session load).
git-svn-id: svn://localhost/ardour2/branches/3.0@4583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 19:44:27 +00:00
ecaf107ed3 The Big Change: Store time in MidiModel as tempo time, not frame time.
The time stamp of an event is now always tempo, from file to model and
back again.  Frame time is only relevant at playback or recording time,
in the audio thread (MidiModel and MidiBuffer).

I think perhaps we don't need to change the actual time from double (which is
convenient for math), it is the time base conversion that caused problems.
Using a correct equality comparison (i.e.  not == which is not correct for
floating point) should probably make the undo issues go away, in 99.99% of
cases anyway.

There's almost certainly some regressions in here somewhere, but they do not
seem to be time related.  The bugs I'm hitting in testing are old ones that
seem unrelated now, so it's checkpoint time.

This sets us up for fancy things like tempo map import and tempo/meter changes
halfway through MIDI regions, but for now it's still assumed that the tempo
at the start of the region is valid for the duration of the entire region.


git-svn-id: svn://localhost/ardour2/branches/3.0@4582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 17:30:42 +00:00
64e69c36da Oops. Fix XML stuff in GUI as well.
git-svn-id: svn://localhost/ardour2/branches/3.0@4579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 03:45:00 +00:00
789bd1d007 More contrast for MIDI notes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 03:37:08 +00:00
67ce82c9b4 Shutup.
git-svn-id: svn://localhost/ardour2/branches/3.0@4574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 02:14:23 +00:00
Carl Hetherington
b0091c899b If a bundle's channel has no ports associated with it, you can't connect
it to anything; mark things up accordingly in the port matrix.


git-svn-id: svn://localhost/ardour2/branches/3.0@4557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 20:17:45 +00:00
Carl Hetherington
9a3734a6bd Make DnD copy processors using their XML representations. Remove unused
copy constructors from the Processor hierarchy, and declare them private
to explicitly disallow copy construction.


git-svn-id: svn://localhost/ardour2/branches/3.0@4556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 19:45:30 +00:00
Carl Hetherington
50d7d19614 Fix send copying by paste and drag n drop.
git-svn-id: svn://localhost/ardour2/branches/3.0@4550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 17:28:01 +00:00
ef172d7ad6 Less weak plugin preset system (maybe AU preset stuff can use the 'normal' thing instead of being all weird now?).
LV2 preset support as implemented in svn calf plugins (experimental extension).


git-svn-id: svn://localhost/ardour2/branches/3.0@4547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 03:28:12 +00:00
Hans Baier
f93ca1349c * Added CanvasSysEx class for displaying SysExes
git-svn-id: svn://localhost/ardour2/branches/3.0@4544 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-13 08:29:12 +00:00
Hans Baier
9d33176b49 * Swapped MidiSource to LibSMF
* integrated libsmf into scons


git-svn-id: svn://localhost/ardour2/branches/3.0@4539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-12 23:28:32 +00:00
Carl Hetherington
0522149d20 Fix segfault on:
1. move a region to a new track.
2. trim it.


git-svn-id: svn://localhost/ardour2/branches/3.0@4537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 23:51:52 +00:00
Carl Hetherington
41afd1201d Fix some problems with dragging more than 1 region to a new track.
git-svn-id: svn://localhost/ardour2/branches/3.0@4530 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 17:20:46 +00:00
Carl Hetherington
567f37f8eb Offer routes on mixer strip IO menus. Fixes to these menus on MIDI routes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 02:14:01 +00:00
Carl Hetherington
7666413e18 Duh. Simplify previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@4520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 15:58:03 +00:00
Carl Hetherington
eef9223835 Add a rescan button.
git-svn-id: svn://localhost/ardour2/branches/3.0@4519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 15:45:06 +00:00
Carl Hetherington
c601946bc8 Bit of a hack to make the port matrix for port inserts at least vaguely usable.
git-svn-id: svn://localhost/ardour2/branches/3.0@4516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 02:09:46 +00:00
Carl Hetherington
9fc369aa44 Fix disassociation of all from a single channel.
git-svn-id: svn://localhost/ardour2/branches/3.0@4515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 02:06:31 +00:00
Carl Hetherington
81cbf022ae Fix disassociate all to only disassociate if required.
git-svn-id: svn://localhost/ardour2/branches/3.0@4512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 00:49:48 +00:00
Carl Hetherington
b6b366b631 Remove references to connection manager from the build.
git-svn-id: svn://localhost/ardour2/branches/3.0@4502 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 03:20:23 +00:00
Carl Hetherington
ee42a6dd97 Fixes to bundle manager to make it vaguely usable.
Rework signal handling for bundles so that all changes should now be noticed by port matrices.


git-svn-id: svn://localhost/ardour2/branches/3.0@4501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 03:18:10 +00:00
Carl Hetherington
91032b311e Remove old connection editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@4500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 03:17:03 +00:00
Carl Hetherington
67d545c080 Small fixes to port matrix rendering, mostly visible when using the bundle manager.
git-svn-id: svn://localhost/ardour2/branches/3.0@4491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-05 12:56:12 +00:00
Carl Hetherington
ee4e28751e Reduce header dependencies.
git-svn-id: svn://localhost/ardour2/branches/3.0@4490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-04 17:05:26 +00:00
Carl Hetherington
dc6571fb29 Fix minor visual glitch with mouseover when a label is partially out-of-sight.
git-svn-id: svn://localhost/ardour2/branches/3.0@4489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-04 14:26:00 +00:00
Hans Baier
5e3cced3e7 * typo buss -> bus
git-svn-id: svn://localhost/ardour2/branches/3.0@4485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03 06:22:50 +00:00
Carl Hetherington
d06d697e41 Click and hold button 1 over a channel name in the port matrix highlights
connected channels.


git-svn-id: svn://localhost/ardour2/branches/3.0@4484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03 01:55:25 +00:00
Carl Hetherington
6a9dc6b8d0 Do not display orphaned Show: labels when they are not required.
git-svn-id: svn://localhost/ardour2/branches/3.0@4483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03 00:07:51 +00:00
Carl Hetherington
762b02bc95 Fix auto-return, hopefully not at the expense of anything else.
git-svn-id: svn://localhost/ardour2/branches/3.0@4482 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 22:35:50 +00:00
Carl Hetherington
54afc94e62 Re-enable creation of stereo bundles for system IO, so that the mixer strip
connection menus for stereo tracks are populated again.
Also enable disconnection via these menus.


git-svn-id: svn://localhost/ardour2/branches/3.0@4481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 22:17:06 +00:00
Carl Hetherington
23e7641a9b Fix up mouseover handling in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 13:59:50 +00:00
166ef64e3d Make (MIDI) event time stamp type a template parameter.
git-svn-id: svn://localhost/ardour2/branches/3.0@4473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 02:36:05 +00:00
aaa91db6d9 Trim include dependency graph, especially for io.h and session.h.
Clean up some stuff and other such gruntwork in the process.


git-svn-id: svn://localhost/ardour2/branches/3.0@4468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 20:18:31 +00:00
Carl Hetherington
a384dab130 More port matrix re-working. Global matrix now has separate visibility buttons
for ins and outs.  The matrix will now be arranged so that more ports are labelled
horizontally than vertically, to aid readability.


git-svn-id: svn://localhost/ardour2/branches/3.0@4467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 15:08:09 +00:00
70b939da4f first pass at internal sends. this is a very tentative work in progress, and it is possible that major changes may follow in the near future. it is certainly not complete, but the fundamental changes to Port/Buffer operation merit a commit at this point
git-svn-id: svn://localhost/ardour2/branches/3.0@4464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 07:40:13 +00:00
Hans Baier
8048f0309f * Allow choice of interpolation mode only for Linear Controls
git-svn-id: svn://localhost/ardour2/branches/3.0@4453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-28 07:40:43 +00:00
Hans Baier
3705a2d630 * MIDI control lanes: Set Interpolationtype according to Parameter
git-svn-id: svn://localhost/ardour2/branches/3.0@4452 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-28 04:55:31 +00:00
Carl Hetherington
c9e0804e9f Change input/output selector button behaviour so that button 1 opens the port matrix and button 3 opens the menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@4450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-28 00:04:46 +00:00
Carl Hetherington
2a341d9959 Draw mouseover lines only between the target and the labels.
git-svn-id: svn://localhost/ardour2/branches/3.0@4449 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-27 18:56:06 +00:00
Carl Hetherington
948034f15a Make track sends etc. appear in the same bundle as the track. Tidy up bundle channel naming a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@4448 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-27 18:36:40 +00:00
Carl Hetherington
b2e163a410 A few cleanups. Also make port matrix notice when routes or processors change.
git-svn-id: svn://localhost/ardour2/branches/3.0@4447 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-27 17:37:07 +00:00
Carl Hetherington
9cc7b452eb First cut at mouseovers for the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4446 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-27 04:21:13 +00:00
Carl Hetherington
7e1b86acee Make global port matrix a Gtk::Window rather than an ArdourDialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@4445 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-26 20:41:22 +00:00
Carl Hetherington
7dd8001300 Put sends / inserts into the port matrix next to their tracks / busses
git-svn-id: svn://localhost/ardour2/branches/3.0@4444 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-26 19:25:51 +00:00
Carl Hetherington
49510ba1d7 Some refactoring. Add port group headers to the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-25 06:47:11 +00:00
Carl Hetherington
4cd47cf253 Gather all ardour: ports so that a few more things are found to put in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-24 15:21:22 +00:00
Carl Hetherington
df6680f45c Happy new year.
git-svn-id: svn://localhost/ardour2/branches/3.0@4438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-24 15:12:03 +00:00
Carl Hetherington
ff656003a8 Try to avoid adding system ports to the port matrix twice. Fix some whitespace problems.
git-svn-id: svn://localhost/ardour2/branches/3.0@4437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-24 01:46:13 +00:00
Carl Hetherington
0187028eb0 Fix state setting in the port matrix, broken a few commits ago.
git-svn-id: svn://localhost/ardour2/branches/3.0@4436 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-24 01:17:26 +00:00
Carl Hetherington
f6652f07ae Add global port matrix dialogs.
git-svn-id: svn://localhost/ardour2/branches/3.0@4434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-23 21:24:11 +00:00
Sakari Bergen
9245b7f959 Fix up menus (they broke when ardour.menus.in was copied over from 2.0-ongoing to 3.0)
git-svn-id: svn://localhost/ardour2/branches/3.0@4433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-23 13:21:50 +00:00
Carl Hetherington
24cafcf8e6 Some small-ish port matrix rendering improvements.
git-svn-id: svn://localhost/ardour2/branches/3.0@4430 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-22 03:38:40 +00:00
Carl Hetherington
95bd7ba716 Remove (now unused?) UseOSC menu option so that the MiscOptions menu appears.
git-svn-id: svn://localhost/ardour2/branches/3.0@4429 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-22 03:28:55 +00:00
Carl Hetherington
3af003fd1e Fix send editing.
git-svn-id: svn://localhost/ardour2/branches/3.0@4427 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-22 00:14:27 +00:00
Carl Hetherington
d58b8c243f Fix sends.
git-svn-id: svn://localhost/ardour2/branches/3.0@4426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 23:29:15 +00:00
Carl Hetherington
90ac43a8d8 Fix some confusion about relative / non-relative port names. Add some asserts to keep track of what is happening.
git-svn-id: svn://localhost/ardour2/branches/3.0@4424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 17:44:41 +00:00
Carl Hetherington
8097c13d38 Put JACK ports with alsa_pcm: prefix into the system group as well as system: ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@4423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 17:42:38 +00:00
Hans Baier
5309c327ec * make MIDI-specific menu show up on all MIDI lanes
* style guide, comments and a little refactoring (remove duplication)


git-svn-id: svn://localhost/ardour2/branches/3.0@4422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 10:20:27 +00:00
Hans Baier
33852a0728 * Added Menu to add a Program change parameter lane
* made adding automation lanes add them for every active channel on the track
* Evoral::Parameter.hpp: Strict weak ordering again: make the proof a bit easier to read
                         Make the implementation conform to the proof
                         order Parameters according to type, then channel, then id


git-svn-id: svn://localhost/ardour2/branches/3.0@4421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 08:32:23 +00:00
Carl Hetherington
c5659dda6e Only add session bundles that are of the correct type.
git-svn-id: svn://localhost/ardour2/branches/3.0@4420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 03:07:28 +00:00
Carl Hetherington
f6f3769ae1 Remove now-deprecated non-zero page size in Adjustments used for SpinButtons;
stops some GTK warnings on startup.


git-svn-id: svn://localhost/ardour2/branches/3.0@4419 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 02:44:40 +00:00
Carl Hetherington
30472988f5 Fix a couple of compiler warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@4418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 02:43:24 +00:00
Carl Hetherington
d6637dad5a Rework Port class hierarchy a bit. Hopefully now simpler, and should
support connection of JACK ports with internal ones.


git-svn-id: svn://localhost/ardour2/branches/3.0@4417 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 02:27:21 +00:00