Commit graph

66 commits

Author SHA1 Message Date
Robin Gareus
74c4ca3e52
Reduce reliance on boost - the hard part
the rest from `tools/convert_boost.sh`.

* replace boost::function, boost::bind with std::function and std::bind.

This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
2024-10-19 03:47:21 +02:00
Paul Davis
df7fe4fb91 MIDI tracer: don't update ports if audio engine is not running when ports_changed() is called 2024-06-21 15:46:59 -06:00
Robin Gareus
5b02561573
Fix MIDI Tracer (print polypress value) 2024-05-14 17:20:01 +02:00
Robin Gareus
120979bd76
Remove unused variable 2023-10-07 22:43:27 +02:00
Robin Gareus
36056597ce
GUI: use new MidiPort::set_tracer API 2023-06-04 01:15:14 +02:00
Robin Gareus
d16c5d69ed
Prepare GUI for MIDI trace API update 2023-06-04 01:15:08 +02:00
Robin Gareus
766e9dc7a1
Improve MidiTracer, format MMC messages 2023-06-03 19:10:27 +02:00
Paul Davis
28d244bd0a use cstdint instead of stdint.h 2023-03-24 14:19:15 -06:00
Paul Davis
c304edd253 switch from glib atomic to std::atomic (gui edition) 2023-03-24 14:19:15 -06:00
Paul Davis
b35518e212 switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for
std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence
and ExportPortChannel.
2023-03-24 14:19:15 -06:00
Paul Davis
ef14fec4ec MIDI trace window: enable printing of new-ish MIDI tick message 2023-02-23 15:34:27 -07:00
Robin Gareus
0be3a509af
MIDI-Tracer: allow to directly trace physical ports 2022-12-31 03:09:24 +01:00
Robin Gareus
483ca4e19d
MIDI tracer: disable trace when window is closed
This fixes a bug with some MIDI port constantly tracing,
because trace_parser is never unset.
2022-12-11 13:13:02 +01:00
Robin Gareus
5637e811f9
MIDI Tracer connects to ports, remove unused tracer port 2022-12-11 12:53:57 +01:00
Mads Kiilerich
09c6e68ae8
gtkmm: use append() instead of deprecated Gtk::ComboBoxText::append_text() 2022-04-08 21:10:56 +02:00
luz paz
364f2f0788 Fix typos in gtk2_ardour/ directory
Found via `codespell -q 3 -S *.po,./share/patchfiles,./libs -L ba,buss,busses,doubleclick,hsi,ontop,ro,seh,siz,sur,te,trough,ue`
2022-01-26 12:35:38 -05:00
Robin Gareus
838279c5e8
Fix C++11ism, enums are not classes in C++98 2021-06-24 18:14:06 +02:00
Todd Naugle
944eae53e6 Add a Midi port per Midi Tracer window that can be connected to for debugging. 2021-06-23 17:54:58 -05:00
Todd Naugle
6f251f8b2f Fix Midi Tracer handling of different port types
Transport Masters and Async MIDI port already have a parser available, so
just connect to it.

Normal Midi ports are the only one that need to use the Midi Tracers parser.
2021-06-23 17:54:58 -05:00
Robin Gareus
e82b2b48fb
Avoid ambiguity with C++17 enum class std::byte 2021-05-02 16:36:57 +02:00
Robin Gareus
8b4edaa950
gcc-11 compat, volatile atomic variables (2/2)
GUI part of previous commit.
2021-03-22 15:30:16 +01:00
Robin Gareus
9d7ca1dfa9
Remove debug message 2020-07-12 21:44:46 +02:00
Robin Gareus
e4ccf772f5
Fix MIDI-tracer formatting of samplecnt_t and size_t 2020-06-12 03:41:43 +02:00
Paul Davis
918eacdfa7 NOOP: remove newlines 2020-03-27 12:40:44 -06:00
Paul Davis
ef3c4a17fc display MIDI qtr msgs in the MIDI tracer window 2020-03-27 12:37:44 -06:00
Robin Gareus
4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Paul Davis
db385c2e3c new transport slave/master implementation, gui edition 2018-09-18 19:06:04 -04:00
Paul Davis
30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Paul Davis
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04: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
Len Ovens
3f8857b129 Fix midi tracer to show MSB too. (fixes #6566) 2015-09-29 06:06:40 -07:00
Paul Davis
b2d4c731e8 properly activating MIDI parsing for traced ports 2015-02-10 19:48:47 -05:00
Robin Gareus
843551d9d8 remove cruft 2014-11-18 06:15:22 +01:00
Robin Gareus
484e380536 silence clang "dead assignment" warnings 2014-11-18 04:46:37 +01:00
John Emmas
f8574fc39d 'gtk2_ardour' - Add namespaces + casting where necessary + general bits of 'correctness' to keep MSVC happy 2013-10-03 09:06:56 +01:00
Paul Davis
bb826f4bee incomplete merge of master into windows (requires upcoming changes to master to be complete) 2013-09-12 11:28:50 -04:00
Paul Davis
ee1b49f87e fix merge conflicts from master 2013-08-24 12:18:06 -04:00
Paul Davis
2de09888b6 some const_cast<> additions for OS X where gcc believes that volatile int* means const int* 2013-08-14 12:40:49 -04:00
Paul Davis
e87424f514 re-enable MIDI tracing for ARDOUR::MidiPort 2013-08-13 13:24:05 -04:00
Paul Davis
1ab61b8564 major redesign of MIDI port heirarchy and management (part 2) 2013-08-07 22:22:11 -04:00
Michael Fisher
e82574de05 Send and Read MIDI Positions the right way 2013-08-02 18:23:36 -05:00
Paul Davis
aaabaf5d3c Merge branch 'master' into windows 2013-08-02 12:51:24 -04:00
Michael Fisher
27a7bd0f12 Human readable printing of MIDI Position messages 2013-08-02 08:59:32 -05:00
Paul Davis
aa4dd3443f Include pbd/timersub.h for mingw build 2013-07-13 08:19:32 -04:00
Paul Davis
ff825cd8bd Include pbd/localtime_r.h for mingw build 2013-07-13 08:19:03 -04:00
Paul Davis
5252c77d94 add delta-time option to MIDI tracer window. note that its not incredibly accurate or useful right now, because timestamps come from the system clock and are taken when the data is read/written to the port buffer, not its actual timestamp within the buffer
git-svn-id: svn://localhost/ardour2/branches/3.0@11458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06 17:19:59 +00:00
David Robillard
05283a6339 Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.
Fixes #4364.

I havn't fully tested every single dialog and window (heck, I don't even know
how to get at half of them), and there may be some packing niggles, but this is
the bulk of the work.  The Gnome 3 kiddies can close their dialogs now, anyway
:)


git-svn-id: svn://localhost/ardour2/branches/3.0@10699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19 00:56:35 +00:00
Carl Hetherington
14fd85af1b Tweak spacing.
git-svn-id: svn://localhost/ardour2/branches/3.0@10389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 01:12:53 +00:00
Carl Hetherington
d6112f1213 Use RCU for MIDI Manager's port list.
git-svn-id: svn://localhost/ardour2/branches/3.0@10128 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26 20:35:09 +00:00