13
0
Commit Graph

30199 Commits

Author SHA1 Message Date
360c81b815
Define Lua constants (used with preferences) 2020-05-23 00:58:28 +02:00
534838995d
Allow MIDI learn on inline toggle buttons 2020-05-22 17:35:55 +02:00
a4a96f7556
Prevent rare crash at exit in optimized builds
update_video_timeline() is called after destroying the
video_timeline instance at exit.

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  __GI_abort () at abort.c:79
#2  __assert_fail_base at assert.c:92
#3  __GI___assert_fail at assert.c:101
#4  Editor::update_video_timeline(bool) (this=0x55a10a25a060, flush=false) at ../gtk2_ardour/editor_videotimeline.cc:57
#5  Editor::visual_changer(Editor::VisualChange const&) (this=0x55a10a25a060, vc=...) at ../gtk2_ardour/editor.cc:4746
#6  Editor::idle_visual_changer() (this=0x55a10a25a060) at ../gtk2_ardour/editor.cc:4687
#7  Editor::_idle_visual_changer(void*) (arg=0x55a10a25a060) at ../gtk2_ardour/editor.cc:4645
#8  g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9   () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 Gtkmm2ext::UI::run(Receiver&) (this=0x55a105ababe0, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:293
#13 main(int, char**) (argc=1, argv=0x7fffcd806dc8) at ../gtk2_ardour/main.cc:437
2020-05-22 01:39:43 +02:00
44bca6cc8f
Fix memory leak when reading MIDI files 2020-05-22 01:29:25 +02:00
ab4b268e5f
Display engine setup error #8134
get_last_backend_error() is only set if AudioEngine::start() fails.
When an error occurs earlier in the setup process it not updated.
2020-05-22 00:17:23 +02:00
08da389acc
Remove unused condition (MIDI calibration starts engine)
MIDI latency calibration is now only possible when the engine
is running (since 4c8f562053).

This reverts part of e6febe040a
and a2f7abc70b
2020-05-21 22:06:43 +02:00
08d4350ddf
NSM: Use session's rate when starting JACK
Also log if jackd cannot be started or reached instead of
silently terminating.
2020-05-21 16:11:39 +02:00
5d0867ec10
NSM special-cases
Special cases to load-or-create session via NSM_Client::command_open
This bypasses most of the startup-FSM for NSM. Either a session
is loaded or created. JACK is mandatory.
2020-05-21 02:04:49 +02:00
61ce687017 add text to TRANSLATORS file explaining how contextual translation msgids work and should be translated 2020-05-20 14:40:10 -06:00
7dedf5955f additional fix ups context-providing translations for gtk2_ardour 2020-05-20 14:36:00 -06:00
160251f962 fix up context-providing translations for libs/gtkmm2ext
Translators: if the msgid looks like foo|bar then in general the foo is just
there to provide context to clarify the potentially ambiguous nature of bar.
The translated form should not contain the foo or the |
2020-05-20 14:35:33 -06:00
24ec6a6b49 fix up context-providing translations for libs/ardour
Translators: if the msgid looks like foo|bar then in general the foo is just
there to provide context to clarify the potentially ambiguous nature of bar.
The translated form should not contain the foo or the |
2020-05-20 14:32:33 -06:00
f8860cde75 fix up context-providing translations for gkt2_ardour
Translators: if the msgid looks like foo|bar then in general the foo is just
there to provide context to clarify the potentially ambiguous nature of bar.
The translated form should not contain the foo or the |
2020-05-20 14:30:54 -06:00
6ada6c553b
Speed up automation lane removal with many ctrl points
Deleting the group first, directly removes child items
without triggering Canvas::item_changed() for every item.

This significantly speeds up closing sessions (or deleting tracks)
with lots of automation events.
2020-05-20 01:02:36 +02:00
Fred Rech
6c72862801
Revise French translation -- #8035 2020-05-19 21:42:39 +02:00
97afc4dfd6
Safe config save
This prevents corrupt rc-config files in case the disk is full.
This is a safeguard, since Ardour does not start if the main
config file is corrupt.
2020-05-19 19:47:34 +02:00
5b1a8f79bc
Block periodic saves while importing
Resampling or copying files during import can take a long time.
If a save, or pending save is called while importing,
it is postponed until after import has completed.
2020-05-19 18:31:55 +02:00
272d095af6
Don't save when renaming a track
Filenames used by the disk-reader only change when recording
which creates a pending save. There's generally no reason
to force save the session due to renaming a track.
2020-05-19 18:31:52 +02:00
7476e92403
Remove explicit save for every imported file 2020-05-19 18:10:05 +02:00
8592e96d5c
There is no need to save after region cleanup 2020-05-19 18:09:09 +02:00
61d11347b6
Remove implicit saves when removing empty sources
This fixes an implicit save when importing files.
The Track's disk-reader is initially created with an empty
source which is later replaced and dropped:

  ARDOUR::Session::save_state
  ARDOUR::Session::remove_source
  PBD::Destructible::drop_references
  ARDOUR::DiskWriter::reset_write_sources
  ARDOUR::DiskWriter::set_write_source_name
  ARDOUR::Track::set_name
  Editor::finish_bringing_in_material
2020-05-19 18:08:28 +02:00
3a9bf57af9
Don't save the session when creating busses
Most calls to new_audio_route() used save = false, only directly
creating busses saved the session. Probably for historical reasons.
2020-05-19 18:02:23 +02:00
8564e6f760
No implicit session save when importing files (backend) 2020-05-19 17:59:52 +02:00
749291245c
NO-OP: replace save_state("") with save_state() 2020-05-19 17:14:47 +02:00
8194a83c30
Don't implicitly save when deleting a track 2020-05-19 16:07:30 +02:00
808e96debb add blank line 2020-05-18 16:04:41 -06:00
08df4def52 change the text on the "do nothing" button when closing an unnsamed session while dirty 2020-05-18 16:04:41 -06:00
f21c948f35 make a possible case in a switch statement explicit 2020-05-18 16:04:41 -06:00
c573cc9153 use a better Gtk stock item to describe "skip renaming an unnamed session" 2020-05-18 16:04:41 -06:00
618c7a6bf2 tweak Prompter API to allow skipping the default "Cancel" button 2020-05-18 16:04:41 -06:00
4c8f562053
Better version of 24ca53f97 (engine dialog, MIDI calibration) 2020-05-18 23:01:44 +02:00
24ca53f971
Don't autostart engine for MIDI latency compensation 2020-05-18 22:49:31 +02:00
cf4c300ddd prevent debug-build crash caused by trying to use null-pointer 2020-05-18 14:20:44 -06:00
7ac9c7e88a fix mask used to extract keycode from KeyboardKey object
Previous 16 bit mask would do the wrong thing if the keycode was > 65536,
which is not often true but is certainly a valid value (and seen on some
platforms)
2020-05-18 13:33:54 -06:00
cbc6bccc36
Try restore the recently used state after device-list refresh
This takes into account if the device is present, and picks
the most recently used state for the available devices.
2020-05-18 15:13:15 +02:00
c8cf84b7f9
Add missing enum (required for rc_config) 2020-05-18 00:28:01 +02:00
Mark Knoop
414ea28e78 Fix repeated toggling of loop mode
Calling Session::set_play_loop repeatedly (e.g. LLL) should toggle in and out
of loop play. Previously transport needed to be stopped before loop play could
be started for a second or subsequent time. This uses the loop_changing boolean
to flag that Session::non_realtime_stop should not unset the loop.

Also, Session::non_realtime_stop must reset loop_changing to false after use so
it does not affect the next transport action.
2020-05-17 10:44:33 -06:00
Daniel Appelt
2e7992dd58 Use editor_add to avoid unwanted event points 2020-05-17 15:02:04 +02:00
cooltehno
fb9aa647bb
Update cubasish-ardour.colors
Corrected colors closer to a5.12 version (compared with existing a6 theme). Added comments to < Color > section.

In the original file there was an excess line (177) - deleted in new version:

177 <ColorAlias name="lua action button: fill" alias="theme:bg"/>
178<ColorAlias name="lua action button: fill" alias="widget:bg"/>

video:
https://vimeo.com/419410940
2020-05-17 14:28:56 +02:00
YQ-YSY
7885bdb210
New Chinese translation for Ardour 6.0 gtk2_ardour_po 2020-05-17 14:23:02 +02:00
YQ-YSY
488b3bc532
New Chinese translation for Ardour 6.0 gtk2_ardour_appdata_po 2020-05-17 14:21:54 +02:00
YQ-YSY
d909d0ec0e
New Chinese translation for Ardour 6.0 libs_ardour_po 2020-05-17 14:21:54 +02:00
YQ-YSY
7eac2ed602
New Chinese translation for Ardour 6.0 libs_gtkmm2ext_po 2020-05-17 14:21:54 +02:00
Daniel Appelt
a7fa29d731
Delete as little automation data as possible 2020-05-17 14:14:36 +02:00
davidhealey
cac312bb6d Added lua binding for editor:add_location_mark 2020-05-17 00:05:52 +01:00
f2cf60900b
TMM: Fix BPM display format #8118 2020-05-16 23:15:06 +02:00
087d52a77c
NO-OP: whitespace & const'ness 2020-05-16 21:07:53 +02:00
b566ba51e0 fix typo 2020-05-16 12:27:45 -06:00
2ac934c1ae add explanatory comments regarding SetLoop vs. AutoLoop SessionEvents 2020-05-16 12:24:54 -06:00
c82ca66fcc fix for #8112. No need to request transport roll before requesting loop play
And doing so confuses ardour
2020-05-16 09:31:43 -06:00