Commit graph

778 commits

Author SHA1 Message Date
Paul Davis
9e3299f97d change Controllable::set_value() API to include grouped control consideration.
This also removes Route::group_gain_control() and associated machinery.
Not yet tested with Mackie or other surfaces. More work to done to
start using the group capabilities, and also potentially to add
or derive more controls as RouteAutomationControls
2016-01-02 04:58:30 -05:00
Robin Gareus
5d8b75386c allow to set per item drag targets 2015-12-30 12:25:09 +01:00
Robin Gareus
2d871435ca allow to set parent for modal dialog 2015-12-29 13:31:24 +01:00
Robin Gareus
ee541036b4 fix window-title (separate application name, thread name) 2015-12-29 11:03:09 +01:00
Robin Gareus
8e1a9f0ada missing drag-end (fix possible crash) 2015-12-28 17:23:45 +01:00
Paul Davis
0d9efc1148 redesign cross-thread registration/signalling system
This new design will work even when threads that need to receive
messages from RT threads are created *after* the RT threads. The
existing design would fail because the RT thread(s) would never
be known the later created threads, and so signals emitted by the
RT thread and causing call_slot() in the receiver would end up
being enqueued using a lock-protected list. The new design ensures
that communication always uses a lock-free FIFO instead
2015-12-28 10:14:17 -05:00
Robin Gareus
0aba08594c allow DnD between DnDTreeView and DnDVbox 2015-12-28 04:10:39 +01:00
Robin Gareus
3ff674d583 Treeview Drag: allow to use single column as drag-widget 2015-12-24 17:26:06 +01:00
Robin Gareus
2a55e8b9b3 extend Drag/Drop mechanism
DnDVbox: un-hardcode TargetEntry list, add callback for secondary targets
DvDTreeview: return pointer to self
2015-12-22 04:14:12 +01:00
Paul Davis
3d1dcacfd8 use correct source for application name when labelling a window 2015-12-12 11:12:10 -05:00
Paul Davis
be6a43d4d3 use EventLoop::event_loop_name() 2015-12-12 11:12:10 -05:00
Edgar Aichinger
ba3936391a update german translation 2015-12-09 13:22:25 +01:00
Robin Gareus
73d1de3b75 NOOP, remove trailing whitespace, replace tabs in python scripts 2015-11-29 17:54:31 +01:00
Nils Philippsen
e25ddc39f8 make copies of global lists before extending
Not doing so can make source or object files appear multiple times in
the list of files to be compiled or linked, e.g. when doing './waf build
install', subsequently leading to linker errors.
2015-11-23 08:43:19 -05:00
Robin Gareus
52e75f5a45 remove cruft 2015-10-20 15:49:59 +02:00
Robin Gareus
f1a6d7816d remove unused "copy modifier hint" 2015-10-20 11:12:36 +02:00
nick_m
9511c9c86f Add tooltips to user config preferences. clean up combo ordering. 2015-10-20 00:53:30 +11:00
Robin Gareus
2c9666e0ee API to add system-specific file chooser shortcuts 2015-10-16 19:06:21 +02:00
Robin Gareus
79142a262e prepare better solution of Glib's << operator 2015-10-15 11:22:35 +02:00
Robin Gareus
2397429e99 use quotes for in-tree pbd/glib wrapper include 2015-10-05 22:15:18 +02:00
Robin Gareus
dc36b063bf remove unused fstream includes 2015-10-05 22:15:18 +02:00
Robin Gareus
97bd6db2b7 remove i/ofstream from libardour
except: 
 * audio-unit (ifstream is known to work on OSX)
 * evoral curve algorithm debugger
 * cycle-timer debug code
 * export_handler's CDMarker  -> TODO
2015-10-05 22:15:17 +02:00
Robin Gareus
c3b2cc46c5 remove unused API (and ifstream) 2015-10-05 22:15:17 +02:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
8384d98c92 there's no class called "The" :) 2015-10-01 21:39:15 +02:00
Ben Loftis
f3a1ac21cb associate label more closely with VST path button. the plugin tab needs a complete layout rethink, someday 2015-09-17 16:07:40 -05:00
Robin Gareus
7ac691ec82 use pbd's gstdio compatibility wrapper 2015-09-17 14:37:57 +02:00
Robin Gareus
eb998b3264 plug some memory leaks in libs 2015-09-12 20:05:25 +02:00
Robin Gareus
fcbf359dd6 properly clean up meter-pattern cache 2015-09-07 13:35:48 +02:00
Robin Gareus
57321bef35 consistent pango-text layout size - fixes #6490
Use gdk_pango_layout() for all text-size calculations.
In Canvas::Text always use the same context (local image surface)
for layouting (prior to this, local and window-context mix resulted in 
different sizes).
2015-09-06 16:39:08 +02:00
Robin Gareus
42f0142bb9 remove a float loop counter 2015-09-05 15:47:00 +02:00
Robin Gareus
9bc85a553c add API to get combobox option count.
The data model needs to be checked to count available options.
Directly using ComboBoxText::children()::size() counts widgets.
2015-08-11 15:38:26 +02:00
Robin Gareus
7aeead630a adjust click box size - fixes #6499 2015-08-05 19:53:33 +02:00
Ben Loftis
46c8369328 merge fix 2015-07-16 16:13:24 -05:00
Robin Gareus
782aa6aa47 add missing return value 2015-07-16 15:34:37 +02:00
Robin Gareus
56ba08b7cb implement scroll-wheel support for ClickBoxes 2015-07-13 15:33:15 +02:00
Robin Gareus
466af2a80b don’t compile tracks specific sources for ardour. 2015-07-02 15:32:29 +02:00
John Emmas
fe5852fc1d MSVC doesn't like us calling 'sqrt()' with integers (it doesn't have a version which takes an int)
So let's specify which version we'd like it to use.
2015-07-02 08:23:38 +01:00
John Emmas
51dd5b525b Add some newly introduced sources to our MSVC project (gtkmm2ext) 2015-07-02 08:23:37 +01:00
Robin Gareus
ea4ffbb674 prevent stuck & vanishing tooltips
the window needs to be moved in place before presenting it.
Otherwise it is displayed at mouse-pos and moving it triggers enter/leave,
which in turn re-start the timeout..
2015-06-30 13:08:22 +02:00
Robin Gareus
efa170b6bc stop PersistentTooltip flicker.
timeout is used for a *one-time* delayed display of the tooltip.
2015-06-30 13:05:42 +02:00
Robin Gareus
1adc5d5cf4 Revert "fix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus are not affected"
This reverts commit dddf76abf5.

it is relevant for Ardour/OSX, see 58fec98a and da43652
2015-06-30 08:11:06 +02:00
Paul Davis
0274aafdb0 store all error/info/etc messages in a list inside Gtkmm2ext::UI, and provide a method to dump them all to a std::ostream 2015-06-29 16:27:03 -04:00
Paul Davis
ec16c454ef comment unused but potentially usable variables 2015-06-29 14:18:15 -04:00
Paul Davis
0e72e8446a update waves' fader implementation, clean up whitespace, indentation, variable initialization and remove unused members 2015-06-29 14:18:15 -04:00
Paul Davis
d4bd394b4b Revert "remove unused variables". They are used on OS X.
This reverts commit 0fba19e9e6e6c519c89ce63149581b8f24b38c8c.
2015-06-29 14:18:15 -04:00
Paul Davis
8c4b899352 remove unused variables 2015-06-29 14:18:15 -04:00
Paul Davis
e6b4c9f610 fix whitespace/indentation and compiler warnings 2015-06-29 14:18:15 -04:00
Paul Davis
dddf76abf5 fix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus are not affected 2015-06-29 14:18:15 -04:00