summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_markers.cc
AgeCommit message (Collapse)Author
2020-01-18rename DoTheRightThing to RollIfAppropriatePaul Davis
2020-01-18Session::request_locate() takes a tri-valued second argument for ↵Paul Davis
"roll-after-locate" This allows callers to defer logic about auto-play/current rolling state and more to TransportFSM where it can be cnentralized and is less ambiguous
2019-08-03Update GPL boilerplate and (C)Robin Gareus
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-03-12Fix marker context-menu (bug missed in 12a415f07)Robin Gareus
2019-03-07Cleanup Editor/Marker context-menuRobin Gareus
This could have caused crashes previously: ::build_range_marker_menu() may have created range_marker_menu while the GUI wanted transport_marker_menu.
2017-11-23GUI to set clock-origin markerRobin Gareus
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
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-07-22Rework tempo marker editing menu functionsnick_m
Setting a tempo to 'Continue' via right click puts it in a permanent state of continuing the previous section's end tempo (basically what 'Lock Continue' should have been). This can be disabled (unlocked) by selecting 'Don't Continue'. Remove the previous temporary 'Continue' function. Reorganise menu to separate position lock style from more commonly used functions.
2017-07-22Indicate musical position lock style of regions and locations using BEAMED ↵nick_m
EIGHTH NOTES in name Also attempt to indicate lock type with symbols CROSS OF JERUSALEM and LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR
2017-07-17Remove ArdourPrompter wrapperRobin Gareus
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-05-11context click on marker > loop range should set loop rangePaul Davis
2017-03-24Revert "consistent use of context-menu popups"Robin Gareus
This reverts commit b3722f7063699fafd0421d504e05a7300c70e0ec. In some cases ardour shows context-menu on right-mouse-button release. In this case selecting a menu-entry should happen with the left-mouse button (or any button?!) Using ev->button is only correct if the menu is temporary and only visible while the button is held, button release then activates the menu-item. This needs further work, in some cases allowing any button (0) to work makes sense and overall consistency needs to be improved. Different places use different strategies for context-menus which don't always match the button used in the event-handler. This is a hotfix (to make TAV context menus work again with left-click)
2017-03-16consistent use of context-menu popupsRobin Gareus
2017-03-05tempo editing updatesnick_m
- a tempo marker may now be set to always continue (clamped) this means that the end tempo of the previous section will track the start tempo during tempo ops. it mimics the behaviour in 5.8, with the gui indicating the curves to be changed.
2017-03-01allow continuation of tempo via right-click 'Continue' where appropriate.nick_m
- this is the opposite of 'Ramp to Next'. it removes discontinuities between the last end tempo and the current by altering the current one.
2017-02-27only allow 'ramp to next' if the next tempo is actually different.nick_m
2017-02-27remove commented linenick_m
2017-02-27fix tempo marker ramp to next.nick_m
2017-02-27add right-click 'Ramp to Next' tempo marker menu item.nick_m
2017-02-27remove "Make Ramped" from right click tempo marker menu.nick_m
2017-02-27complete changes to tempo type.nick_m
- this implements in the intention behind the previous commit. a tempo mark is constant until its end has been changed by a shift-drag on the next marker.
2017-02-27rework tempo editing.nick_m
most changes are due to a new design where tempo discontinuities at the beginning of a ramped section may be set. this allows easier mapping of live performance, especially in the common case of a ramped ritard before the beginning of a new section. feature summary: holding constraint modifier (shift) while dragging the BBT ruler area drags the tempo lines by changing the start tempo (as before) holding copy modifier (control) while dragging the BBT ruler area drags the tempo lines by changing the end tempo (ahem. not quite there) dragging a tempo mark while holding constraint (shift) will change the previous end tempo to match the marker position *worth trying*. holding constraint and copy modifier (control + shift) while dragging the BBT ruler area attempts to'pinch' or twist the surrounding tempi sp that later ones are not repositioned (currently suffereng from rounding errors)
2017-02-15use leave/enter from track canvas to be the primary driver of region action ↵Paul Davis
sensitivity This works for context menus also, because GTK sends us leave/enter notify events when they appear.
2017-01-27add undo for changing marker lock style from menunick_m
2016-12-29allow all types of range location (loop, start, end etc.) to be glued to ↵nick_m
bars and beats.
2016-12-19add frame parameter for Meter ctor and TempoMap::replace_meter(). allow for ↵nick_m
various failures.
2016-12-12rename MetricSection movable -> initial, but of course initial is !movable..nick_m
2016-11-11rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.nick_m
- adds quarter_notes_per_minute(), note_divisions_per_minute (double) pulses_per_minute() and frames_per_quarter_note() - this should be a no-op except for the use of tempo by the vst callback which definitely uses quarter notes per minute. - the XML node for TempoSection named 'beats-per-minute' has been renamed.
2016-11-11Refactor tempo api, include quarter-note distance in frames method.nick_m
- moves frame rounding up to TempoMap, which is needed in order to calculate pulse distance without frame rounding. - the time unit for tempo is still minute, but this now also applies to meter sections. (new audio locked meter sections no longer require a frame position). - there is no longer a discontinuity in the pulse for audio-locked meter/tempi. - temporarily add debugging output in Region::set_position() to test for region beat not matching region frame.
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-10Stop passing references to things that may disappear when a metric section ↵nick_m
is replaced.
2016-05-27Tempo ramps - more code consolidation wrt add meter/tempo.nick_m
2016-05-27Tempo ramps - clean up add/replace temponick_m
2016-05-27Tempo ramps - fix ambiguous api, fix flickering tempo curves.nick_m
2016-05-27Tempo ramps - restore correct drag behaviour wrt audio-locked meters and ↵nick_m
right-click of associalted tempo
2016-05-27Tempo ramps - add gui dilation of tempos.nick_m
- a meter can be dragged using the constraint modifier, which sets the previous tempo accordingly. This could be added to the bbt ruler to allow direct dragging of beats and bars, but the exact behavior of that is still undecided. comments? - also preliminary work on the necessary tempos locked to audio-locked meters.
2016-05-27Tempo ramps - add undo to right-click lock style & ramp type changes.nick_m
2016-05-27Tempo ramps - don't set incorrect lock style when changing tempo type.nick_m
- fixes random crashes when changing tempo type with right click.
2016-05-27Tempo ramps - ok so you really do need to redisplay when tempo lock style is ↵nick_m
changed..
2016-05-27Tempo ramps - redraw correctly when changing meter lock style.nick_m
2016-05-27Tempo ramps - redraw after setting tempo type (ramped, constant) from ↵nick_m
context menu. - not needed for lock style change.
2016-05-27Tempo ramps - add some right-click options to meter and tempo markers.nick_m
2016-05-27Tempo ramps - another approach to first meter/tempo.nick_m
- first tempo is glued to first meter position as they are now both locked to AudioTime. - all existing audio-locked tempos to the left of the first meter are made inactive. all to the right are made active.
2016-02-22remove all trace of SAE from source code.Paul Davis
This had become incoherent over time, and posed a development hazard and burden going forward
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-09-28Revert "add new action and loop marker menu item for setting up loop record"Paul Davis
This reverts commit ebb43508f1ab75b7d7467e0e95cdd1c816cf3183.
2015-09-28add new action and loop marker menu item for setting up loop recordPaul Davis
2015-09-24redisplay markers after removal - fixes #6596Robin Gareus
2015-07-23rename Marker classRobin Gareus
Classes are in the global namespace. OSX has a flat namespace and OSX32bit/Carbon has a Marker too.