summaryrefslogtreecommitdiff
path: root/libs/canvas
AgeCommit message (Collapse)Author
2015-06-16fixes for canvas text display on Retina (from Valeriy)Paul Davis
2015-06-13NOOP, reindent code.Robin Gareus
2015-06-13fix crash on OSX displaying MIDI sysex, or similar text.Robin Gareus
2015-06-12We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG ↵Paul Davis
mechanism away from a 64bit integer and toward std::bitset. Clean up a few minor related PBD::DEBUG issues along the way
2015-06-11more refactoring of WaveView threaded code to try to get to heart of crash bugPaul Davis
2015-06-11don't queue a callback with the idle event for waveview image generation if ↵Paul Davis
one is already queued. Also, hold relevant lock when waking image rendering thread.
2015-06-10possible fix for crashes related to vanishing waveviews (and if it doesn't ↵Paul Davis
fix anything, it is still more correct than it was)
2015-06-10fix basic error with computation of partial image width; add use of ↵Paul Davis
DEBUG_TRACE (DEBUG::WaveView,...)
2015-06-10add PBD::DEBUG::WaveViewPaul Davis
2015-06-09Add the new (UINTSDEFINED) preprocessor directive to all out MSVC projects ↵John Emmas
(just to be on the safe side)
2015-06-04use existing partial existing waveview images (if they exist) while waiting ↵Paul Davis
for the full ones
2015-06-02don't use the return value from AudioRegion::read_peaks() because it is ↵Paul Davis
either zero or n_peaks
2015-06-02Amend WaveView::send_request() such that it'll compile with MSVCJohn Emmas
Hopefully, this was the original intention (I've simply amended a function call to match similar usages elsewhere in the code).
2015-06-01reinstate absent image.Paul Davis
Then go back to bed and be ill some more.
2015-06-01remove debug output and get logic correct to cause first render to always ↵Paul Davis
use the render thread
2015-06-01drop in threaded waveview changes via the two affected files.Paul Davis
Rebasing the feature branch against master was too messy, and only these two files were changed. The development history of this branch could easily have been --squash'ed anyway, so not much of a loss
2015-05-19fix x-fade display access beyond array boundariesRobin Gareus
2015-05-02gfx-card & performance testingRobin Gareus
2015-04-29fix double precision abs value computationRobin Gareus
2015-04-29enable fade-out display by default in A4.Robin Gareus
..because fade outs are implicit in A4. Eventually the GUI needs to set_show_background_fade() as needed.
2015-04-29NOOP: fix indentationPaul Davis
2015-04-29[Summary] Should have been committed with previous: made background fade ↵GZharun
optional and not shown by default
2015-04-29fix issue with manual merge conflictPaul Davis
2015-04-29make computation of OS X pango text width correction less intrusive/more ↵Paul Davis
efficient. Compute the correction only once after each font specification setting. Conflicts: libs/canvas/canvas/text.h
2015-04-29manually apply grygorii's API to manage a correction for pango errors in ↵Paul Davis
text size computation on OS X
2015-04-29manually apply grygorii's waveform amplitude implementationPaul Davis
2015-04-29[Summary] Fixed issue when width request from Cavas text returned old width ↵GZharun
value [Reviewed by] Paul Davis Conflicts: libs/canvas/canvas/text.h
2015-04-29change placement of ruler divider so that the lower line is at the specified ↵Paul Davis
height, rather than the upper
2015-04-29do the right thing when TrackingText::offset is changedPaul Davis
2015-04-29Fix method hiding in Canvas::TextPaul Davis
2015-04-29change ruler rendering to change tick heights and move text downPaul Davis
2015-04-29add missing APIPaul Davis
2015-04-29add API to Ruler to optionally draw a divider (2 single pixel horizontal ↵Paul Davis
lines) at some position within the vertical extent of the ruler
2015-04-29correct implementation for Rectangle::vertical_fraction()Paul Davis
2015-04-29add Rectangle::vertical_fraction() as a convenience methodPaul Davis
Conflicts: libs/canvas/rectangle.cc
2015-04-17Amend ac1f7e0bnick_m
2015-04-17Indicate all clips on rectified view.nick_m
2015-04-17Improve waveview height and scaling.nick_m
The top line of the selection rect is arguably 1 px too low, but waveviews seem centered on the area properly.
2015-04-09Position (and size) canvas tooltips such that they better resemble Gtk tooltipsJohn Emmas
Mixbus in particular uses both types of tooltip so we might as well make them look the same. N.B. The appearance is fine now on Windows but needs to be tested on the other platforms (i.e. some tweaking might be necessary).
2015-04-09Delete a canvas tooltip after we've finished with itJohn Emmas
All canvas objects share just one tooltip object which is based around Gtk::Label. The Label expands if the current tooltip text is wider than the previous text. However, it doesn't shrink again if the next tooltip has shorter text. Eventually, this results in some very strange looking tooltips (especially in Mixbus where they're used quite extensively). Deleting the object after use will force a new object to get generated next time (at the correct size). There's still only ever one object per canvas but it's no longer persistent.
2015-03-31fix OSX/PPC 10.4 long mathsRobin Gareus
2015-03-29For the canvas library, #include 'gtkmm2ext/gui_thread.h' rather than ↵John Emmas
'gtk2_ardour/gui_thread.h' Technically it doesn't make much difference but from what I can tell, the only files which #include 'gtk2_ardour/gui_thread.h' are the source files from gtk2_ardour itself. The support libraries always #include 'gtkmm2ext/gui_thread.h' directly (which seems sensible). So for consistency's sake, let's keep it the same for libcanvas.
2015-03-29Better fix for 6183.nick_m
Invalidate all source entries from the image cache when we get our region's DropReferences signal, while ignoring any subsequent regions with no source.
2015-03-24Fix 0006183 (waveview crash).nick_m
Should fix crash when audiosource disappears. Reworked from submitted patch from tlat.
2015-03-22Revert mistaken change in e7b0e67bc8e1b546b587ffd803b81ad5e67c171anick_m
2015-03-22Provide an image if there are no peaks.nick_m
2015-03-20fix redraw of automation ControlPointsRobin Gareus
2015-03-14Move PC flags to avoid obscuring region name.David Robillard
Fixes bug #6179. Top vs. bottom seems pretty arbitrary to me, and this solves the obscuring issue (which is quite common since there are often PC events at the start of MIDI files), so bottom it is.
2015-03-10Manual merge of the drawing component of waveview branch.nick_m
In summary: * no antialiasing of waveviews * no diagonal lines * simplify clip detection * don't use LINE_CAP_ROUND for outline * use the wave colour when drawing outline only
2015-02-20The commit 3da9c3b7403dd57984e1f0d090c7bd902f933225nick_m
wasn't the no-op it claimed to be.