Commit Graph

35891 Commits

Author SHA1 Message Date
Robin Gareus fabb080672
Consistent progress bar text (no dots) 2022-09-07 00:24:33 +02:00
Robin Gareus 2a7d528c5d
Update and consolidate gettext.h
This fixes compilation with --no-nls on modern systems
2022-09-07 00:09:54 +02:00
Alexandre Prokoudine 2912577420 Fix a few typos more 2022-09-04 23:32:25 +03:00
Robin Gareus 109e7d6ea0 When editig sends, show the send's polarity control on mixer-strip 2022-09-04 20:25:51 +02:00
Robin Gareus db5cb4ec94 Expose Send polarity_control directly 2022-09-04 20:14:09 +02:00
Robin Gareus 72faae2ba9
Update method to disable X11 screensaver
On modern systems `xdg-screensaver reset` does not necessarily
reset the timer. It depends on DPMS, and according to spec turns off
the screensaver (unlock the screen), via `xset dpms force on`.

Explicit window suspend/resume make use of DBus
org.freedesktop.ScreenSaver.Inhibit, which is not be supported
but all systems, so we fall back to good old `XResetScreenSaver`
which does reset the activation timer.
2022-09-04 17:32:16 +02:00
Paul Davis 1eab84b7da push2: remove unconditional setting of canvas item names 2022-09-03 17:48:03 -06:00
Robin Gareus 4863e6b45e Fix mac and windows builds (resolve namespace ambiguities) 2022-09-04 01:37:48 +02:00
Robin Gareus 183604a66b Add polarity invert switch to sends
This allows to invert polarity of the signals of all channels on the
send path. There is intentionally no per channel control.

see https://discourse.ardour.org/t/send-phase-swtich/107564
2022-09-04 01:35:24 +02:00
Robin Gareus 44515cb513 Properly describe polarity invert controls 2022-09-04 01:35:24 +02:00
Robin Gareus a307a367cc Remove special-case for send-level display name
These days, `describe_parameter()` handles this fine and returns "Send".
This is in preparation for adding a polarity-invert control to sends.
2022-09-04 01:35:24 +02:00
Paul Davis 97540dafde push2: update cue layout when tracks are added 2022-09-03 16:46:41 -06:00
Paul Davis 2d4042abd7 push2: fix handling of pads-as-note-entry during selection changes 2022-09-03 16:46:41 -06:00
Paul Davis b3b6e94297 push2: fix canvas level meter object so that it draws 2022-09-03 16:46:41 -06:00
Paul Davis b7d86cb118 push2: track mix layout needs to be setup even if not currently visible 2022-09-03 16:46:41 -06:00
Paul Davis f13c4d1264 canvas: NOOP - meter, whitespace adjustment 2022-09-03 16:46:41 -06:00
Paul Davis e5bf2b7ee8 canvas: style, using braces with conditional 2022-09-03 16:46:41 -06:00
Paul Davis 2313e3d333 canvas: meter bounding box does not rely on being on a canvas 2022-09-03 16:46:41 -06:00
Paul Davis b2ce5f0616 canvas: do not strip layout-sensitivity when adding items to a container 2022-09-03 16:46:41 -06:00
Paul Davis 384530984a canvas: make "debug_render" into a per-canvas member variable
This allows us to debug rendering in specific canvases, rather
than all of them.
2022-09-03 16:46:41 -06:00
Paul Davis 36663210c9 canvas: improve debug trace output during Box::reposition_children() 2022-09-03 16:46:41 -06:00
Robin Gareus 9697187037 Fix erractic timecode detection when extracting LTC from video
Some music using square waves can inadvertently be interpreted as valid
LTC frame. However the encoded data is not a valid timecode, which can
lead huge A/V offsets, or other issues.
2022-09-03 21:39:26 +02:00
Robin Gareus 8af793a44d Safeguard video-alignment in case LTC detection throws an error 2022-09-03 17:55:30 +02:00
Robin Gareus 1228202bbe Fix save/restore window and tab sizes
Window size has to be set before calling `setup_toplevel_window()`.
and `set_show_tabs()` - see also acf13e9498 and 42cb321039.

This also unconditionally saves the current settings to global config
instant.xml. This was previously only done in rare cases when first
closing the session and then quitting Ardour.
2022-09-03 17:42:32 +02:00
Paul Davis 96a9c1df7f push2: bug fixes for pad color mgmt and other fixes/improvements 2022-09-02 17:57:46 -06:00
Paul Davis a5b7290e3a fix fatal error/logic error in marker remove code introduced with BBT markers 2022-09-02 10:41:58 -06:00
Robin Gareus 49e6066306 Fix mac and windows builds (resolve namespace ambiguities) 2022-09-02 12:44:44 +02:00
Paul Davis f8312cacc4 add back Rect -> ArdourCanvas::Rect define 2022-09-01 22:03:11 -06:00
Paul Davis 55ff73a2ad fix clang/macos compilation 2022-09-01 16:23:12 -06:00
Enrico Castella 358edb5cfc
fix quotes in themes clear_gray-ardour.colors
fix unclosed quotes in gtk2_ardour/themes/clear_gray-ardour.colors
2022-09-01 16:31:08 +02:00
David Robillard 494aa8dba1 Remove unused URIDs
These also had the wrong case: case is relevant here, classes are uppercase,
other things (properties and instances) are lowercase.  However, they seem to
be entirely unused now, so simply remove them instead of fixing this.
2022-08-31 18:50:43 -04:00
Paul Davis d2fc142e21 infrastructure and implementation to allow "q" to drive quantize-selected-notes in midi edit mode 2022-08-31 13:53:55 -06:00
Paul Davis 02b05f295a use selected (outline) color for MIDI note velocity bar (thanks, cooltehno, for the idea) 2022-08-31 13:53:43 -06:00
Paul Davis 3a8c443499 remove unused variables 2022-08-31 13:51:20 -06:00
Paul Davis b11ba8eec7 MIDI editing: primary+tertiary makes scroll do what it does when not editing 2022-08-31 12:16:14 -06:00
Paul Davis cbbc6f9b84 push2: use vector of pads rather than map when shutting down 2022-08-31 10:23:12 -06:00
Paul Davis 253dac007d push2: fully init and de-init buttons and pads at startup and shutdown 2022-08-31 10:22:24 -06:00
Paul Davis 681ca38848 push2: fix a couple of potential crashes 2022-08-31 10:11:02 -06:00
Paul Davis 7b855f0cc5 add code to linux packaging to download bundled content 2022-08-30 23:30:35 -06:00
Paul Davis 678ed40bd3 push2: fix pad colors etc. after layout switches 2022-08-30 21:37:16 -06:00
Paul Davis 748fbf6fb1 push2: add follow action icons to display 2022-08-30 16:51:34 -06:00
Paul Davis 6986c18163 push2: add clip names to display and slightly shift progress circle 2022-08-28 22:37:31 -06:00
Paul Davis b98ec59ed8 push2: another bunch of Live-chasing functionality for trigger control 2022-08-28 18:58:50 -06:00
Paul Davis 406080f1b8 triggerbox: sort-of NOOP - fix null return object in ::get_next_trigger() 2022-08-28 18:58:12 -06:00
Paul Davis aef1adc6f0 triggerbox: implement TriggerBox::peek_next_trigger() 2022-08-28 18:57:39 -06:00
Paul Davis 45144d841e triggerbox: add new "queued" property for Trigger and properly register it
Also register "currently_playing"
2022-08-28 18:56:56 -06:00
Paul Davis a06ed85269 push2: prep for triggerbox property changes 2022-08-27 21:21:22 -06:00
Paul Davis f6cfa3c3e1 push2: let's not crash 2022-08-27 16:25:09 -06:00
Paul Davis 741ff552a0 push2: start tracking route properties in cue layout 2022-08-27 16:22:07 -06:00
Paul Davis 06abdb4c4e push2: vector, not map 2022-08-27 16:03:01 -06:00