Robin Gareus
e7cc096d19
Fix location list order (amend 7ee5a3f24
)
2023-12-11 15:54:30 +01:00
Robin Gareus
fe3827b1d8
Fix crash when session range is created (bug introduced in 7ee5a3f
)
2023-12-10 01:48:13 +01:00
Robin Gareus
7ee5a3f24d
Keep location lists ordered by start-time
2023-12-09 02:26:49 +01:00
Robin Gareus
1da5c7f389
Fix ordering of locations
...
There are two lists, one for ranges, and one for
everything else.
2023-12-09 01:43:40 +01:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
1bc795509b
Use "Arrangement" in GUI instead of Section (amend 2f6a0abf
)
2023-08-31 05:29:29 +02:00
Robin Gareus
1f772d30d3
Update Location UI to include section marker flags
2023-08-26 15:10:40 +02:00
Paul Davis
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
Ben Loftis
32880e0cdd
locations pane: hide CD checkbox for Cue Markers
2022-01-06 21:17:54 -06:00
Paul Davis
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
Paul Davis
38caf9ddd3
NOOP: whitespace
2020-04-01 10:10:50 -06:00
Paul Davis
d9d9740f1c
do not show xrun markers in the "Ranges & Marks" editor list
2020-04-01 10:10:50 -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
Nikolaus Gullotta
31ec8ce7d1
Location timestamp changes - can now sort by location creation date: gtk part
2019-07-22 15:47:17 -05:00
Robin Gareus
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
Ben Loftis
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
Paul Davis
1b75e294b9
revert the coupling of location UI clock modes to transport clocks
2018-10-10 11:56:49 -04:00
Paul Davis
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
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
Robin Gareus
1f5ebc5485
Remove ArdourPrompter wrapper
2017-07-17 21:06:04 +02:00
Robin Gareus
5c92613698
Separate Ardour UI widgets into dedicated library
2017-07-17 21:06:04 +02:00
Tim Mayberry
a2c1e79660
Use XMLNode::get/set_property API in LocationUI class
2017-04-19 09:36:56 +10:00
Robin Gareus
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
Robin Gareus
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
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
Paul Davis
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
Paul Davis
2814ff4866
use contextual translation macro for "Locations"
2016-06-07 12:32:57 -04:00
Paul Davis
91a95b086a
initial sort-of-mostly-working integration of new Pane
2016-05-31 15:30:45 -04:00
Paul Davis
17ace643e4
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
2016-05-04 23:09:45 -04:00
Robin Gareus
d27f223cd6
tweak location-UI layout (right-align checkboxes & buttons)
2016-04-25 19:55:00 +02:00
Robin Gareus
e4890b1a85
slightly improved location-UI layout
2016-04-25 19:39:59 +02:00
Robin Gareus
d1ea5ea22a
NO-OP whitespace
2016-04-25 18:49:42 +02:00
Robin Gareus
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
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
Tim Mayberry
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
Tim Mayberry
c256075e63
Remove tooltips() member from ARDOUR_UI and use Gtk_UI::set_tip
2015-09-16 16:55:17 -04:00
Tim Mayberry
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
Robin Gareus
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
Paul Davis
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
Paul Davis
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
Paul Davis
6a971e645d
use new ARDOUR::Location signals in GUI
...
Conflicts:
gtk2_ardour/editor_markers.cc
2014-09-19 23:06:26 -04:00
Robin Gareus
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00