Commit graph

26651 commits

Author SHA1 Message Date
Robin Gareus
1f0889a97a Fix --no-nls (5/5), i18n.h include order in gtk2_ardour 2018-09-21 19:05:57 +02:00
Robin Gareus
357361c89d Fix --no-nls (4/5), i18n include order in libs/*
"i18n.h" needs to be included last (after any includes that may indirectly
pull in getext or libintl etc)
2018-09-21 19:05:39 +02:00
Robin Gareus
dade5fca7d Fix --no-nls (3/5), prefer #if in gtk2_ardour
This is for consistency with system-wide gettext.h which is used
by some 3rd party libs. system-wide gettext uses `#if ENABLE_NLS`,
not #ifdef
2018-09-21 19:04:06 +02:00
Robin Gareus
497a3fbaa1 Fix --no-nls (2/5), prefer #if in libs
This is for consistency with system-wide gettext.h which is used
by some 3rd party libs. system-wide gettext uses `#if ENABLE_NLS`,
not #ifdef
2018-09-21 19:03:33 +02:00
Robin Gareus
df2a18ec1c Fix --no-nls (1/5): ENABLE_NLS = 1/0 config
system-wide gettext uses `#if ENABLE_NLS`, not #ifdef
2018-09-21 19:00:33 +02:00
Robin Gareus
5d52f960d6 Fix metronome emphasis preference (#7666) 2018-09-20 23:52:47 +02:00
Paul Davis
03e5b97921 missing enum/properties stuff 2018-09-20 12:00:16 -04:00
Paul Davis
9cdbeaa07d switch transport masters to use properties and notify via PropertyChanged 2018-09-20 11:30:28 -04:00
Guido Aulisi
5ffd2078da AppData: 'revision' in revision.cc is expected in the 2nd line
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2018-09-19 19:14:02 -04:00
Nils Philippsen
2b8f25e05e generate revision.cc with one item per line 2018-09-19 19:14:02 -04:00
Nils Philippsen
12544795e8 AppData release tags need a date to be valid
Or a timestamp, but that's deprecated. Create it from the last commit,
store it in/retrieve it from revision.cc and substitute it in the
template.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-releases
2018-09-19 19:14:02 -04:00
Robin Gareus
fb01698450 Remove ambiguity of Gtk and Windows API 2018-09-19 15:17:43 +02:00
Paul Davis
84930c0cf1 namespace change to help out on non-linux platforms 2018-09-18 21:35:33 -04:00
Paul Davis
a183b3bff4 do not initialize boost::shared_ptr<> with zero 2018-09-18 21:26:43 -04:00
Paul Davis
87c11bcc2e boost/atomic.hpp is not used 2018-09-18 20:01:05 -04:00
Paul Davis
db385c2e3c new transport slave/master implementation, gui edition 2018-09-18 19:06:04 -04:00
Paul Davis
e6915e01de new transport slave/master implementation, libs/ edition 2018-09-18 19:06:04 -04:00
Len Ovens
7390b88c2b OSC: Allow personal monitor to change output connection 2018-09-18 15:39:14 -07:00
Robin Gareus
3298653955 Fix crash when re-assigning groups
This works around an issue where gtk sends two callbacks when a radio
selection changes. First: unselect, then select new item.

Previously:
 Two tracks, two groups. Select all tracks, assign to 2nd group. Crash.

The first callback, "unselect" iterates over all tracks, removes them
from any groups. Eventually all groups are unused and hence destroyed.

The 2nd callback - "select" - now uses a just destroyed group.
2018-09-16 23:08:41 +02:00
Colin Fletcher
9321f46c45 Implement new Enclosed region equivalence mode 2018-09-13 14:05:47 -04:00
John Emmas
556cf7a215 Oops - I got the session file numbers the wrong way around :-( 2018-09-11 18:52:20 +01:00
Robin Gareus
12abbf52fe Update Lua LTC decoder (API change in d7dc224d) 2018-09-11 16:03:19 +02:00
Robin Gareus
f9f0b4aabd LTC-file reader: offset frame position (not timecode) 2018-09-11 16:02:42 +02:00
Robin Gareus
d7dc224da5 Fix LTC file-reader -- closes #7661
Change reader API to return the position of the decoded LTC frame
and store the correct position in the array)
This bug was introduced in e5a181c323
2018-09-11 16:02:42 +02:00
Len Ovens
a96aa4e1fd OSC: Personal monitoring can add a new aux 2018-09-10 09:58:15 -07:00
John Emmas
79f01bc889 Initial changes needed for building Mixbus (with MSVC) as version 5
(Mixbus itself will probably need extra changes)
2018-09-10 07:14:59 +01:00
Robin Gareus
2172337306 Add missing cast (NoteButton to TrackButton) 2018-09-06 23:03:55 +02:00
Robin Gareus
e1c58aad60 Fix an invalid conversion from 'int' to non-scalar. 2018-09-06 19:28:45 +02:00
Jan Lentfer
eff7a51de1 LCXL: Refactor code to use boost::shared_ptr 2018-09-04 18:55:49 +02:00
Robin Gareus
ed678aa2f9 Fix shared_ptr initialization
error: no matching function for call to
 'boost::shared_ptr<ArdourSurface::Push2::Button>::shared_ptr(int)'
2018-09-03 13:38:37 +02:00
Paul Davis
6e419a961e use boost::shared_ptr<> to manage Button/Pad lifetimes in Push2 code 2018-09-02 13:23:57 -04:00
Robin Gareus
67f733bb97 Restore mixer scroll offset after spill 2018-09-01 21:32:57 +02:00
Térence Clastres
2a78f0a852 LCXL: Fix check if ports exist 2018-08-30 22:39:24 +02:00
Robin Gareus
9f30d14906 P2: Fix check if ports exist 2018-08-30 22:28:31 +02:00
Jan Lentfer
c3d0c80f68 LCXL: Fix two crashes
* fix a crash when accessing VCAs
    * fix a crash when being at the end
      of available stripables
    * unify for-loop constructs
2018-08-29 23:40:26 +02:00
Robin Gareus
4111f66b25 Clarify video-export dialog phrases 2018-08-29 19:24:43 +02:00
Robin Gareus
46175b6b60 Increase alsa-backend timeout
Following discussion (https://community.ardour.org/node/15805 and
#ardour IRC) test initial disconnect due to timeout after a cold-boot.
2018-08-29 19:23:53 +02:00
Jan Lentfer
fdbce2e8c8 LCXL: add visual feedback for sec button functions
also add some little fixes in regard
    to fixing master fader on controller
    fader no 8
2018-08-25 22:51:31 +02:00
Paul Davis
03c5a35a8c Monitor should be *really* unselectable 2018-08-24 18:26:01 -04:00
Paul Davis
0db0d85108 no reason for 2 template types in CoreSelection::select_adjacent_stripable() 2018-08-24 18:26:01 -04:00
Maxime Lecoq
e546b109c5 Fix unbound methods, add options, arrange dialog
Remove is_channelstrip() and is_nonbypassable() calls.
Add options: solo, pan, pan width, gain automation, pan automation and pan width automation.
Add radio buttons for sends, inserts and plug-ins.
Arrange prompt dialog: list, names and default values (now false to avoid unwanted behavior).
Add my name to the authors list.
2018-08-24 21:59:55 +02:00
Paul Davis
a9ae875b71 a couple more explanatory comments, and rename a variable to be more clear 2018-08-24 14:17:14 -04:00
Paul Davis
92b3d40e3d fix comment (method is now a template) 2018-08-24 14:11:00 -04:00
Paul Davis
99de9ac6de add shift-alt-(up|down) to editor to navigate VCAs with up/down 2018-08-24 14:04:18 -04:00
Paul Davis
932eefad9f use new CoreSelection methods in editor and mixer 2018-08-24 14:04:18 -04:00
Paul Davis
2d0416a016 add new methods to ARDOUR::CoreSelection to centralize selecting next/prev stripables 2018-08-24 14:04:18 -04:00
Robin Gareus
3136b20847 Cleanup various design patterns.
* do not use implicit bool-to-int-cast
* avoid C++11 member initialization in header
* always use set and access methods, remove public variable
2018-08-24 16:55:00 +02:00
Paul Davis
c46cd91d0e provide mixer-specific bindings for Alt-(up|down) to match editor 2018-08-24 10:08:08 -04:00
Paul Davis
5ca53856ab invert-selection: if tracks are selected, invert selection at that level, unless in internal edit mode 2018-08-24 10:08:08 -04:00
Paul Davis
510a0314cf move select-all-tracks,deselect-all,invert-selection to be global actions (and bindings) 2018-08-24 10:08:08 -04:00