summaryrefslogtreecommitdiff
path: root/libs/ardour/template_utils.cc
AgeCommit message (Collapse)Author
2017-09-21s/created with/modified with/Robin Gareus
Once a session has been saved by a more recent version or a different variant, the session file is tied to that version/variant. The created-with version is only for debug purposes and internal use.
2017-08-30Don't use API definition as namespace & fix whitespaceRobin Gareus
2017-08-30Gracefully handle templates that lack contents in their description or ↵Ben Loftis
created_with node.
2017-08-20Make literals in libs/ardour/template_utils.cc translatableJohannes Mueller
2017-08-20Extract the route template descriptionsJohannes Mueller
... and put them into the template info list.
2017-08-20Save template description at toplevel rather than in <Metadata/>Johannes Mueller
2017-08-14Change the template pulldown menu into a tree list. Populate the ↵Ben Loftis
Description view when a template is selected.
2017-08-11Prepare for templates w/descriptionRobin Gareus
2017-07-12Don't try to chop of the file name extension from a template dirJohannes Mueller
Template files reside in .config/ardour5/templates/$(template_name)/$(template_name).template We run through .config/ardour5/templates/ and find there the names of the directories the .template-files are located in. These directory names don't have a .template extension. So we shouldn't try to chop the non existing extension of, because then we only modify template names with a '.' in them.
2016-12-08Speed up recent session display (for many large sessions)Robin Gareus
- don't parse XML into XMLTree - only read the file, extract relevant elements - don't read session-template contents, only test file
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.
2014-09-22Fix finding session templatesColin Fletcher
Session templates are directories: use find_paths_matching_filter() rather that find_files_matching_filter() to search for them. Fix a tiny comment typo I spotted along the way too.
2014-06-25Change PBD::find_files_matching_regex and PBD::find_files_matching_filter to ↵Tim Mayberry
take a Searchpath
2014-06-17Replace all use of PathScanner with equivalent functions from pbd/file_utils.hTim Mayberry
2014-06-17Change PBD::PathScanner API to return results by value to avoid inadvertent ↵Tim Mayberry
memory leaks
2014-06-15fix pathscanner / stl_vector related memory leaksRobin Gareus
2014-03-10Move 'template_search_path()' and 'route_template_search_path()' into ↵John Emmas
'libs/ardour/search_paths.cc'
2013-09-06Rename SearchPath class SearchpathTim Mayberry
Windows headers define SearchPath which means we have to undefine it where necessary. This is a pain and can be tricksy, so I feel renaming the class slightly is the easiest solution.
2013-08-04'libs/ardour' - Main body of changes required for building with MSVCJohn Emmas
2013-07-11Undef SearchPath where needed as it is defined via windows.hPaul Davis
This is pretty annoying, might even be worth renaming the class
2013-01-16add copyright commentsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Replace use of PBD::sys::path in ardour/template_utils.hTim Mayberry
some associated changes from not including pbd/filesystem.h in template_utils.h git-svn-id: svn://localhost/ardour2/branches/3.0@12833 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-18major rationalization of use of search paths. ardour now has just 4 ↵Paul Davis
functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things. This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required) git-svn-id: svn://localhost/ardour2/branches/3.0@12326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23fix failure to find route templatesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-11Save templates as directories with plugin state, ifCarl Hetherington
there is any, and copy that state to sessions created from those templates. Should fix #4525. Breaks existing session templates, sorry; they can be fixed by moving the .template file into a new directory with the name of the template (minus the .template). git-svn-id: svn://localhost/ardour2/branches/3.0@10982 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21Fix some unused parameter warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-17massive changes to waf build scripts so that nearly everything "should" be ↵Paul Davis
working now except for i18n (OSC is not quite right) ; some preliminary work on post-main-out handling, incomplete; a couple of fixes from -Wall and valgrind git-svn-id: svn://localhost/ardour2/branches/3.0@5371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-12Remove most using declarations from header files.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07The great audio processing overhaul.David Robillard
The vast majority of Route signal processing is now simply in the list of processors. There are definitely regressions here, but there's also a lot of things fixed. It's far too much work to let diverge anymore regardless, so here it is. The basic model is: A route has a fixed set of input channels (matching its JACK input ports and diskstream). The first processor takes this as input. The next processor is configured using the first processor's output as input, and is allowed to choose whatever output it wants given that input... and so on, and so on. Finally, the last processor's requested output is used to set up the panner and create whatever Jack ports are needed to output the data. All 'special' internal processors (meter, fader, amp, insert, send) are currently transparent: they read any input, and return the same set of channels back (unmodified, except for amp). User visible changes: * LV2 Instrument support (tracks with both MIDI and audio channels) * MIDI in/out plugin support * Generic plugin replication (for MIDI plugins, MIDI/audio plugins) * Movable meter point Known Bugs: * Things seem to get weird on loaded sessions * Output delivery is sketchy * 2.0 session loading was probably already broken... but it's definitely broken now :) Please test this and file bugs if you have any time... git-svn-id: svn://localhost/ardour2/branches/3.0@5055 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04Preliminary MIDI plugin support.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@5036 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-22a long tricky day of playing with ArdourStartup and session naming/loading etc.Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@4995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02remove unneeded code in line_drag that was probably copy/pasted from ↵Paul Davis
control_point_drag (Ben Loftis, backported from 2.X) git-svn-id: svn://localhost/ardour2/branches/3.0@4717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02track templates, backported from 2.XPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@4713 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25*** NEW CODING POLICY ***David Robillard
All #include statements that include a header that is a part of a library bundled with ardour MUST use quotes, not angle brackets. Do this: #include "ardour/types.h" NOT this: #include <ardour/types.h> Rationale: This is best practice in general, to ensure we include the local version and not the system version. That quotes mean "local" (in some sense) and angle brackets mean "system" (in some sense) is a ubiquitous convention and IIRC right in the C spec somewhere. More pragmatically, this is required by (my) waf (stuff) for dependencies to work correctly. That is: !!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!! Failure to comply is punishable by death by torture. :) P.S. It's not that dramatic in all cases, but this (in combination with some GCC flags specific to the include type) is the best way I have found to be absolutely 100% positive the local ones are being used (and we definitely want to be absolutely 100% positive on that one). git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02rollback to 3428, before the mysterious removal of libs/* at 3431/3432Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02remove empty sigc++2 directoryDoug McLain
git-svn-id: svn://localhost/ardour2/branches/3.0@3432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13Don't log a warning when the system template directory does not exist.Tim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Use ARDOUR::system_data_search_path instead of get_system_data_path in ↵Tim Mayberry
ARDOUR::system_template_directory git-svn-id: svn://localhost/ardour2/trunk@2066 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Use ARDOUR::user_config_directory in ARDOUR::user_template_directoryTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2042 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17Add ardour/template_utils.h that contains ARDOUR::user_template_directory ↵Tim Mayberry
and ARDOUR::system_template_directory git-svn-id: svn://localhost/ardour2/trunk@2015 d708f5d6-7413-0410-9779-e7cbd77b26cf