summaryrefslogtreecommitdiff
path: root/gtk2_ardour/gui_object.h
AgeCommit message (Collapse)Author
2016-07-05fix crash when loading a saved visual stateRobin Gareus
2016-05-03speed up track creationRobin Gareus
For every added Trackview/Mixerstrip, Ardour looks up GUI properties which results in a total of 13 calls for the initial default items per track: ("height", "visible", "layer-display", "strip-width") Since the tracks don't yet exist, the properties don't either. Every lookup result in iterating over all all XMLNotes and for every "Object". ->property ("id") and ->value () allocates memory. Adding 64 tracks to an empty session results in 528293 string allocations and deallocations in XMLNode::property() taking ~30% of the track creation time. This commit XMLnode's const method to prevent memory allocation and caches a pointer to the XMLNode* to skip iterating over object state.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-03-30remove GUI object state when tracks/busses are removed.Paul Davis
Not doing this results in accumulation of useless GUI object state which is never cleaned up. Taken from work by Grygorii Zharun.
2012-08-10fix erroneous use of i18n.h in a header filePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Compile cleanly with clang.David Robillard
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC environment variables, e.g.: CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07remove operator= from GUIObjectState since its no longer required (the ↵Paul Davis
default will do the right thing) git-svn-id: svn://localhost/ardour2/branches/3.0@11613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20Simple approach to putting plugin controls into theCarl Hetherington
processor box. git-svn-id: svn://localhost/ardour2/branches/3.0@11288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20Simplify GUIOBjectState a bit by just walking the XMLCarl Hetherington
directly rather than maintaining internal data structures. git-svn-id: svn://localhost/ardour2/branches/3.0@11287 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13Fix non visibility of previously-visible MIDI automationCarl Hetherington
tracks on session reload. git-svn-id: svn://localhost/ardour2/branches/3.0@9863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11clean up GUIObjectState API, and use bools when setting "visible" property ↵Paul Davis
rather than string (not that it matters); don't unconditionally set visible to true unless a non-hidden track/bus has no visibility property already git-svn-id: svn://localhost/ardour2/branches/3.0@9843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-07introduce GUIObjectState; massive, pervasive changes in visibility and ↵Paul Davis
height management for track displays in the editor git-svn-id: svn://localhost/ardour2/branches/3.0@9796 d708f5d6-7413-0410-9779-e7cbd77b26cf