summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_markers.cc
AgeCommit message (Collapse)Author
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.
2015-04-21merge fix for tempo branchBen Loftis
2015-03-13Right-clicking on the Loop/Punch ruler should "Do Something".Ben Loftis
2015-02-12Separate out creation of xrun markers from Editor::mouse_add_new_marker()Colin Fletcher
Remove the is_xrun parameter from Editor::mouse_add_new_marker(), and just create the marker directly in ARDOUR_UI::create_xrun_marker(), so that xrun markers don't become automatically selected when they appear.
2014-12-18Add editor selection state to session history via a SelectionMemento, whichnick_m
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-11-14add abort() to non-reached codeRobin Gareus
This cleans up a lot of false-positives in static analysis and also helps compilers to optimize code paths in general. (tagging the fatal stingstream operator as ‘noreturn’ is far less trivial)
2014-10-24port changes to ARDOUR::Location and ARDOUR::Locations APIs from Tracks to ↵Paul Davis
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-09-19use new ARDOUR::Location signals in GUIPaul Davis
Conflicts: gtk2_ardour/editor_markers.cc
2014-09-17remove old connections to (now) static Location signalsPaul Davis
2014-09-15fix various loop-initiation faultsBen Loftis
2014-06-22more canvas refactoring.Paul Davis
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it could theoretically be used by any derived type.
2014-06-21use newly factored canvas in gtk2_ardourPaul Davis
2014-06-03initial redesign of canvas scrolling to facilitate independent x- and y-axis ↵Paul Davis
scrolling of specific groups within the canvas. This commit should cause no change in behaviour, but contains all the code and changes necessary for the next step
2014-04-10remove final reference to jack headersPaul Davis
2014-03-15Move '++next' (when sorting marker labels) so there's absolutely no chance ↵John Emmas
of incrementing it once it reaches the list end
2014-03-14fix thinko when relabelling markersPaul Davis
2014-01-27various work to make loop/punch display work better (including fixes for ↵Paul Davis
bugs present in master also)
2014-01-10Merge windows+cc branch into cairocanvas branch. Not finished, need to now ↵Paul Davis
merge windows branch to get changes from there
2013-10-31fix merge with masterPaul Davis
2013-10-25Don't allow loop, punch, or session range markers to be renamed.Colin Fletcher
Don't allow loop, punch, or session range markers to be renamed, even when double-clicked.
2013-10-25Mark session dirty when a marker is renamed.Colin Fletcher
2013-10-25Make double-click on marker pop up rename dialogue.Colin Fletcher
2013-09-21Merge remote-tracking branch 'remotes/origin/cairocanvas' into windowsJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/marker.cc gtk2_ardour/midi_region_view.h gtk2_ardour/region_gain_line.h gtk2_ardour/utils.cc gtk2_ardour/video_image_frame.cc gtk2_ardour/wscript libs/backends/jack/wscript
2013-07-11Fix ambiguous type CheckMenuItem that is also defined via windows.hPaul Davis
2013-05-02merge resolution with masterPaul Davis
2013-04-30remove unnecessary sigc++ headerPaul Davis
2013-04-17fix clamping of line and rect coordinates to avoid issues with cairo when ↵Paul Davis
drawing way outside a surface's dimensions; move various coordinate methods down to Canvas, because they don't require GTK information; make visible_area() a Canvas virtual method so that we don't have to cast to call it
2013-04-12leftmost_position => leftmost_sample, current_page_frames => ↵Paul Davis
current_page_samples
2013-04-12change all frame_to_pixel and pixel_to_frame to sample_to_pixel and ↵Paul Davis
pixel_to_sample