Commit Graph

30186 Commits

Author SHA1 Message Date
Robin Gareus
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
Robin Gareus
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
Robin Gareus
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
Robin Gareus
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
Robin Gareus
7476e92403 Remove explicit save for every imported file 2020-05-19 18:10:05 +02:00
Robin Gareus
8592e96d5c There is no need to save after region cleanup 2020-05-19 18:09:09 +02:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
8564e6f760 No implicit session save when importing files (backend) 2020-05-19 17:59:52 +02:00
Robin Gareus
749291245c NO-OP: replace save_state("") with save_state() 2020-05-19 17:14:47 +02:00
Robin Gareus
8194a83c30 Don't implicitly save when deleting a track 2020-05-19 16:07:30 +02:00
Paul Davis
808e96debb add blank line 2020-05-18 16:04:41 -06:00
Paul Davis
08df4def52 change the text on the "do nothing" button when closing an unnsamed session while dirty 2020-05-18 16:04:41 -06:00
Paul Davis
f21c948f35 make a possible case in a switch statement explicit 2020-05-18 16:04:41 -06:00
Paul Davis
c573cc9153 use a better Gtk stock item to describe "skip renaming an unnamed session" 2020-05-18 16:04:41 -06:00
Paul Davis
618c7a6bf2 tweak Prompter API to allow skipping the default "Cancel" button 2020-05-18 16:04:41 -06:00
Robin Gareus
4c8f562053 Better version of 24ca53f97 (engine dialog, MIDI calibration) 2020-05-18 23:01:44 +02:00
Robin Gareus
24ca53f971 Don't autostart engine for MIDI latency compensation 2020-05-18 22:49:31 +02:00
Paul Davis
cf4c300ddd prevent debug-build crash caused by trying to use null-pointer 2020-05-18 14:20:44 -06:00
Paul Davis
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
Robin Gareus
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
Robin Gareus
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
Robin Gareus
f2cf60900b TMM: Fix BPM display format #8118 2020-05-16 23:15:06 +02:00
Robin Gareus
087d52a77c NO-OP: whitespace & const'ness 2020-05-16 21:07:53 +02:00
Paul Davis
b566ba51e0 fix typo 2020-05-16 12:27:45 -06:00
Paul Davis
2ac934c1ae add explanatory comments regarding SetLoop vs. AutoLoop SessionEvents 2020-05-16 12:24:54 -06:00
Paul Davis
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
Paul Davis
eecb498a70 restore apparent thinko that removed the effect of "editable region" transparency for MIDI regions 2020-05-16 08:29:37 -06:00
cooltehno
852500aa1e Update clear_gray-ardour.colors
++more contrasting&bright (compared with existing 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/419249079
2020-05-16 13:51:44 +03:00
Paul Davis
a9fff59229 TMM: do not allow changing transport master while slaved (GUI edition) 2020-05-15 21:06:40 -06:00
Paul Davis
c57df5a7e5 TMM: do not allow changing transport master while slaved (libardour edition) 2020-05-15 21:06:11 -06:00
Paul Davis
58e5c0cfea Czech translation update from Pavel Frich 2020-05-15 18:41:08 -06:00
Robin Gareus
76c6aab7d1 Fix a memory leak (unsupported LV2 plugin) 2020-05-16 01:37:22 +02:00
Paul Davis
d812c77362 DiskReader: initialize pre-loop-buffer at the right times 2020-05-15 17:28:18 -06:00
Paul Davis
7ed153ca0f DiskReader: do not initialize pre-loop-buffer in constructor 2020-05-15 17:27:21 -06:00
Porrumentzio
0c2e68137b All complete. First public version. 2020-05-15 16:10:22 -06:00
Porrumentzio
319a7a8bab All complete. Needs revision using the program 2 2020-05-15 16:10:22 -06:00
Porrumentzio
16ca782000 All complete. Needs revision using the program. 2020-05-15 16:10:22 -06:00
Porrumentzio
d2d266447b All complete. Needs tiny metadata corrections. 2020-05-15 16:10:22 -06:00
Porrumentzio
e827524e79 all complete except gtk2_ardour eu.po (87%) 2020-05-15 16:10:22 -06:00