857d8096a9
Revert "Keep Location List ordered by start-time"
...
This reverts commit 67f6363dcd
.
This VERY slow when there are many locations in the session
e.g. with #9568 it can take seconds.
2023-12-08 22:14:04 +01:00
67f6363dcd
Keep Location List ordered by start-time
...
Now that Location signal(s) are only emitted when the
drag ended, the list can be kept in sync.
This also adds a further optimization to only update the
list once, even when multiple locations have been changed.
2023-12-08 22:03:22 +01:00
1bc795509b
Use "Arrangement" in GUI instead of Section (amend 2f6a0abf
)
2023-08-31 05:29:29 +02:00
1f772d30d3
Update Location UI to include section marker flags
2023-08-26 15:10:40 +02:00
d14a3b924e
locations now follow session time domain, always (probably) (GUI edition)
2023-08-02 15:23:42 -06:00
Mads Kiilerich
728e463d01
AudioClock: make last_when public and use it instead of current_time
...
Having current_time as a public alias of the private last_when did not
add any clarity to the abstraction of last_time. A small step, but still
room for improvement.
2022-11-17 18:04:08 +01:00
Mads Kiilerich
d52c727ec5
gtkmm: use get_mapped instead of deprecated Gtk::Widget::is_mapped()
2022-04-08 20:20:10 +02:00
32880e0cdd
locations pane: hide CD checkbox for Cue Markers
2022-01-06 21:17:54 -06:00
2a08e4bdaa
continued work on timeline types conversion. in theory, just editor_ops.cc remains
2021-08-13 12:51:29 -06:00
Mister Benjamin
974ae5100f
Allow CD marker at session start #8029
...
Remove restriction in GUI, keep CD-marker button sensitive.
2020-05-27 21:06:29 +02:00
38caf9ddd3
NOOP: whitespace
2020-04-01 10:10:50 -06:00
d9d9740f1c
do not show xrun markers in the "Ranges & Marks" editor list
2020-04-01 10:10:50 -06:00
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
Nikolaus Gullotta
31ec8ce7d1
Location timestamp changes - can now sort by location creation date: gtk part
2019-07-22 15:47:17 -05:00
31815b5f26
NO-OP: whitespace
...
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
2019-04-13 17:57:46 +02:00
3e442ae52b
Session-range behavior (gtk2 part)
...
* Both the session-start and session-end point should follow the is-free option
* Rename the end-is-free option to session-range-is-free, to reflect that change
* This fixes the problem: recording before the start marker would move the Start,
even if the user had already fixed the End marker.
2019-02-12 11:35:57 -06:00
1b75e294b9
revert the coupling of location UI clock modes to transport clocks
2018-10-10 11:56:49 -04:00
0542a30901
use primary, not secondary, clock mode to drive other clock modes, and dynamically update region editors, location UI and editor regions when it changes
2018-10-10 11:47:29 -04:00
Johannes Mueller
e6a6778466
Revert frame -> sample changes where it's a frame as in Gtk::Frame
2018-06-19 20:17:40 +02:00
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
1f5ebc5485
Remove ArdourPrompter wrapper
2017-07-17 21:06:04 +02:00
5c92613698
Separate Ardour UI widgets into dedicated library
2017-07-17 21:06:04 +02:00
a2c1e79660
Use XMLNode::get/set_property API in LocationUI class
2017-04-19 09:36:56 +10:00
eac0a2b6ec
Fix LocationUI clock-mode save/load & caching
...
(sidebar uses explicit LocationUI::set_state(), Location Window
implicit set_session)
2017-03-10 20:38:23 +01:00
8eff36913c
Save/restore location clock mode
...
- save mode separately for Editor-sidebar and Location Window
- cache mode (multiple calls to set_session())
- fix restore: after creating the editor, instant_save() is called,
potentially overwriting the previous value.
2017-02-14 17:15:16 +01:00
nick_m
d0580ecfbc
allow all types of range location (loop, start, end etc.) to be glued to bars and beats.
2016-12-29 01:39:31 +11:00
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
774ad0752a
GUI side of : once the user has explicitly set the session range end, playlist/range changes do not move it.
...
The user may drag the marker, edit in the Location UI, or use nudge, to set the end
2016-07-12 11:19:49 -04:00
2814ff4866
use contextual translation macro for "Locations"
2016-06-07 12:32:57 -04:00
91a95b086a
initial sort-of-mostly-working integration of new Pane
2016-05-31 15:30:45 -04:00
17ace643e4
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
2016-05-04 23:09:45 -04:00
d27f223cd6
tweak location-UI layout (right-align checkboxes & buttons)
2016-04-25 19:55:00 +02:00
e4890b1a85
slightly improved location-UI layout
2016-04-25 19:39:59 +02:00
d1ea5ea22a
NO-OP whitespace
2016-04-25 18:49:42 +02:00
674fa50fb8
return of the location GoTo Button
...
Despite the tooltip, middle-click to locate is not very discoverable,
and tricky to not-available on MacBooks.
2016-04-25 18:17:35 +02:00
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
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
1d42ed077e
Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
...
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -04:00
c256075e63
Remove tooltips() member from ARDOUR_UI and use Gtk_UI::set_tip
2015-09-16 16:55:17 -04:00
6b019a4953
Move UIConfiguration Singleton into UIConfiguration header
...
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
1473442204
fix crash at exit if location-ui was used
...
LocationEditRow members are destroyed after ~LocationUI()
destroys the clock_group. -> segfault in ~LocationEditRow()
2015-01-23 02:24:26 +01:00
64fa63212f
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
2014-12-22 13:39:46 -05:00
nick_m
9af9e17adc
Add editor selection state to session history via a SelectionMemento, which
...
combines selection related editor properties with the current editor selection.
The related editor properties are:
mouse mode,
zoom setting,
left frame of the canvas,
y origin of the canvas.
Selection state now includes region views (storing the underlying region id)
and time.
This patch also fixes a region mute undo bug.
2014-12-18 11:03:10 -05:00
f900711136
port changes to ARDOUR::Location and ARDOUR::Locations APIs from Tracks to Ardour.
...
Fixes deadlocks caused by mutex on Locations list, and clarifies the purposes and uses of the class-level and
object-level change-related signals.
2014-10-24 12:18:46 -04:00
6a971e645d
use new ARDOUR::Location signals in GUI
...
Conflicts:
gtk2_ardour/editor_markers.cc
2014-09-19 23:06:26 -04:00
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00
3f82052d11
fix display of cd-track-detail UI
2014-06-01 19:48:21 +02:00
07be5beee7
window delete/hide is managed by WMProxy (amend to cb6f16ac
)
2013-07-07 22:29:45 +02:00
e642704c3a
Make CD track details visible whenever CD range is ticked.
...
Make the CD track details visible whenever the CD range box has been
ticked, rather than only when the user toggles the box on.
2013-07-01 19:03:20 +01:00
4fa8b87083
Fix 'Location window is blank' ( #5538 )
...
Call set_session() on the location window from ARDOUR_UI::set_session(),
and show_all() on the location window's LocationUI in set_session,
so that it displays the markers and ranges of the current session.
2013-06-30 14:32:30 +01:00