ardour.git
10 years agofurther code simplification and rationalization related to MIDI source/file renaming
Paul Davis [Sun, 13 Apr 2014 15:12:22 +0000 (11:12 -0400)]
further code simplification and rationalization related to MIDI source/file renaming

10 years agodramatic change in logic and naming for operations related to adding a MIDI region...
Paul Davis [Sun, 13 Apr 2014 14:29:07 +0000 (10:29 -0400)]
dramatic change in logic and naming for operations related to adding a MIDI region on demand and cloning/unlinking

Existing code would cause data loss due to creation of two Source objects referring the same path, one with removable flags and one without. Careful code review suggested a variety of thinkos, function naming problems and other confusion that caused this. I have tried ot extensively comment what is going on with these operations, because it is one key area in which MIDI differs from audio: with audio, capture is the only way to add a new audio region, but for MIDI there are GUI input events that can add a new region.

10 years agoremove unnecessary include
Robin Gareus [Sat, 12 Apr 2014 12:07:24 +0000 (14:07 +0200)]
remove unnecessary include

10 years agoanother stab at a working vst on windows
unknown [Fri, 11 Apr 2014 19:41:58 +0000 (14:41 -0500)]
another stab at a working vst on windows

10 years agomore vst tweaks
unknown [Fri, 11 Apr 2014 18:10:26 +0000 (13:10 -0500)]
more vst tweaks

10 years agointerim vst fixes
unknown [Fri, 11 Apr 2014 15:48:12 +0000 (10:48 -0500)]
interim vst fixes

10 years agoamend previous commit, remove cruft, no more extern function pointers
Robin Gareus [Fri, 11 Apr 2014 17:36:17 +0000 (19:36 +0200)]
amend previous commit, remove cruft, no more extern function pointers

10 years agoexport fst functions (for MSVC)
Robin Gareus [Fri, 11 Apr 2014 15:30:37 +0000 (17:30 +0200)]
export fst functions (for MSVC)

10 years agoOops - correct some typos in my previous commit
John Emmas [Fri, 11 Apr 2014 14:36:04 +0000 (15:36 +0100)]
Oops - correct some typos in my previous commit

(accidentally used G_DIR_SEPARATOR instead of G_SEARCHPATH_SEPARATOR)

10 years agoMake sure we use the correct style of filepath separator on Windows
John Emmas [Fri, 11 Apr 2014 12:03:48 +0000 (13:03 +0100)]
Make sure we use the correct style of filepath separator on Windows

('libs/ardour/file_source.cc' still to be investigated)

10 years agoRemove 'pipex' from my pbd.vcproj as it's not needed for Ardour3
John Emmas [Fri, 11 Apr 2014 11:59:03 +0000 (12:59 +0100)]
Remove 'pipex' from my pbd.vcproj as it's not needed for Ardour3

10 years agofinal eradication of jack header files from anything except the JACK backend
Paul Davis [Fri, 11 Apr 2014 06:52:28 +0000 (02:52 -0400)]
final eradication of jack header files from anything except the JACK backend

10 years agofix tetris-ized mixer strips AND return option to have group button in mixer strip
Paul Davis [Thu, 10 Apr 2014 19:26:15 +0000 (15:26 -0400)]
fix tetris-ized mixer strips AND return option to have group button in mixer strip

10 years agofix borked cpp directives in trx menu file
Paul Davis [Thu, 10 Apr 2014 19:25:43 +0000 (15:25 -0400)]
fix borked cpp directives in trx menu file

10 years agofirst pass hiding/rearrangement of UI elements related to trx
Paul Davis [Thu, 10 Apr 2014 17:30:25 +0000 (13:30 -0400)]
first pass hiding/rearrangement of UI elements related to trx

10 years agoparameterize install target directories based on --program-name configure option
Paul Davis [Thu, 10 Apr 2014 14:23:16 +0000 (10:23 -0400)]
parameterize install target directories based on --program-name configure option

10 years agolanguage correction in option description (in => using)
Paul Davis [Thu, 10 Apr 2014 14:22:49 +0000 (10:22 -0400)]
language correction in option description (in => using)

10 years agoremove reference to JACK constant
Paul Davis [Thu, 10 Apr 2014 14:22:13 +0000 (10:22 -0400)]
remove reference to JACK constant

10 years agoclean up use of JACK name in messages
Paul Davis [Thu, 10 Apr 2014 14:21:47 +0000 (10:21 -0400)]
clean up use of JACK name in messages

10 years agoremove final reference to jack headers
Paul Davis [Thu, 10 Apr 2014 14:17:36 +0000 (10:17 -0400)]
remove final reference to jack headers

10 years agoremove final reference to jack headers
Paul Davis [Thu, 10 Apr 2014 14:14:45 +0000 (10:14 -0400)]
remove final reference to jack headers

10 years agoremove use of JACK headers to allow building on systems without JACK
Paul Davis [Thu, 10 Apr 2014 12:58:51 +0000 (08:58 -0400)]
remove use of JACK headers to allow building on systems without JACK

10 years agoremove use of JACK headers to allow building on systems without JACK
Paul Davis [Thu, 10 Apr 2014 12:58:25 +0000 (08:58 -0400)]
remove use of JACK headers to allow building on systems without JACK

10 years agoredesign technique for naming/creating regions for MIDI clone (or other non-capture...
Paul Davis [Thu, 10 Apr 2014 12:58:04 +0000 (08:58 -0400)]
redesign technique for naming/creating regions for MIDI clone (or other non-capture driven MIDI region creation operations).

See comments in Session::new_midi_source_name() for details.

10 years agoremove inclusion of jack.h so that we can build on a platform without JACK
Paul Davis [Thu, 10 Apr 2014 12:52:21 +0000 (08:52 -0400)]
remove inclusion of jack.h so that we can build on a platform without JACK

10 years agoinitial trim of trx.menus
Paul Davis [Thu, 10 Apr 2014 11:31:43 +0000 (07:31 -0400)]
initial trim of trx.menus

10 years agoalways build all per-program menu files so that we can try them out with different...
Paul Davis [Thu, 10 Apr 2014 11:31:26 +0000 (07:31 -0400)]
always build all per-program menu files so that we can try them out with different builds

10 years agodon't mention ardour.menus explicitly if an error loading menu file ocurrs
Paul Davis [Thu, 10 Apr 2014 11:31:06 +0000 (07:31 -0400)]
don't mention ardour.menus explicitly if an error loading menu file ocurrs

10 years agoadd new trx menus file
Paul Davis [Thu, 10 Apr 2014 09:33:31 +0000 (05:33 -0400)]
add new trx menus file

10 years agonew configure option for trx build, which also generates new menus file
Paul Davis [Thu, 10 Apr 2014 09:33:05 +0000 (05:33 -0400)]
new configure option for trx build, which also generates new menus file

10 years agouse TRX Profile to alter transport button layout
Paul Davis [Thu, 10 Apr 2014 08:16:13 +0000 (04:16 -0400)]
use TRX Profile to alter transport button layout

10 years agoset Profile TRX element at startup
Paul Davis [Thu, 10 Apr 2014 08:15:52 +0000 (04:15 -0400)]
set Profile TRX element at startup

10 years agoname-change of RuntimeProfile element
Paul Davis [Thu, 10 Apr 2014 08:13:19 +0000 (04:13 -0400)]
name-change of RuntimeProfile element

10 years agoprovide a non-hard-coded menu file name to ActionManager when loading menus
Paul Davis [Thu, 10 Apr 2014 08:10:50 +0000 (04:10 -0400)]
provide a non-hard-coded menu file name to ActionManager when loading menus

10 years agoadd new element to ARDOUR::RuntimeProfile
Paul Davis [Thu, 10 Apr 2014 08:10:08 +0000 (04:10 -0400)]
add new element to ARDOUR::RuntimeProfile

10 years agoModify 'gtk2_ardour/nsmclient.cc' to add MSVC support for LO_TT_IMMEDIATE
John Emmas [Tue, 8 Apr 2014 08:57:20 +0000 (09:57 +0100)]
Modify 'gtk2_ardour/nsmclient.cc' to add MSVC support for LO_TT_IMMEDIATE

10 years agoAdd the MSVC project resources (icons etc)
John Emmas [Tue, 8 Apr 2014 08:55:23 +0000 (09:55 +0100)]
Add the MSVC project resources (icons etc)

10 years agoAdd the main VC project files for building Ardour3 with Microsoft Visual Studio
John Emmas [Tue, 8 Apr 2014 08:49:35 +0000 (09:49 +0100)]
Add the main VC project files for building Ardour3 with Microsoft Visual Studio

Note that there's no 'VS Solution' file at present and some targets haven't been built yet (e.g. 'fst')

10 years agoMake tests build again (fix linker issues)
Sakari Bergen [Mon, 7 Apr 2014 17:50:29 +0000 (20:50 +0300)]
Make tests build again (fix linker issues)

10 years agoafter cloning a MIDI region, mark the source file as non-removable. Fixes reports...
Paul Davis [Fri, 4 Apr 2014 19:26:44 +0000 (15:26 -0400)]
after cloning a MIDI region, mark the source file as non-removable. Fixes reports about missing MIDI files on the forums and IRC

10 years agofix conceptual error/thinko in EnvironmentalProtectionAgency when using unsetenv...
Paul Davis [Fri, 4 Apr 2014 19:25:56 +0000 (15:25 -0400)]
fix conceptual error/thinko in EnvironmentalProtectionAgency when using unsetenv() while iterating over char** environ

10 years agoclarify comments for SndFileSource constructors
Paul Davis [Fri, 4 Apr 2014 19:17:14 +0000 (15:17 -0400)]
clarify comments for SndFileSource constructors

10 years agofix typo in comment
Paul Davis [Fri, 4 Apr 2014 19:16:35 +0000 (15:16 -0400)]
fix typo in comment

10 years agocomment edit
Paul Davis [Tue, 1 Apr 2014 08:14:34 +0000 (04:14 -0400)]
comment edit

10 years agoAdd internationalization support for my newly committed 'bundle_env_msvc.cc'
John Emmas [Thu, 27 Mar 2014 10:16:28 +0000 (10:16 +0000)]
Add internationalization support for my newly committed 'bundle_env_msvc.cc'

(also, move a #included file to keep MSVC happy)

10 years agoAdd the code for 'load_custom_fonts()' (though not entirely sure if it's actually...
John Emmas [Thu, 27 Mar 2014 08:14:11 +0000 (08:14 +0000)]
Add the code for 'load_custom_fonts()' (though not entirely sure if it's actually doing enything...)

10 years agorename ArdourMenu to ArdourDropdown
Ben Loftis [Wed, 26 Mar 2014 16:37:09 +0000 (11:37 -0500)]
rename ArdourMenu to ArdourDropdown

10 years agothe FlatFace element is no longer relevant. instead it was being used for an inset...
Ben Loftis [Wed, 26 Mar 2014 16:31:35 +0000 (11:31 -0500)]
the FlatFace element is no longer relevant. instead it was being used for an inset jeweled look.  changed name to match

10 years agoadd back track shrink/expand buttons
Paul Davis [Tue, 25 Mar 2014 14:43:04 +0000 (10:43 -0400)]
add back track shrink/expand buttons

10 years agomost of the support for save/restore of visible track count
Paul Davis [Tue, 25 Mar 2014 14:33:18 +0000 (10:33 -0400)]
most of the support for save/restore of visible track count

10 years agoactually resize track heights to follow visible-tracks choice
Paul Davis [Tue, 25 Mar 2014 13:01:26 +0000 (09:01 -0400)]
actually resize track heights to follow visible-tracks choice

10 years agorevert to use red border to indicate rec-arm instead of pink color
Ben Loftis [Tue, 25 Mar 2014 13:02:26 +0000 (08:02 -0500)]
revert to use red border to indicate rec-arm instead of pink color

10 years agofirst part of switch from shrink/expand tracks to pyramix-style "pick number of visib...
Paul Davis [Tue, 25 Mar 2014 12:21:08 +0000 (08:21 -0400)]
first part of switch from shrink/expand tracks to pyramix-style "pick number of visible tracks". function to follow shortly, this is the control widget part

10 years agobrownish zoom buttons
Ben Loftis [Tue, 25 Mar 2014 11:35:41 +0000 (06:35 -0500)]
brownish zoom buttons

10 years agoadd optional arg to Editor::ensure_time_axis_view_is_visible() to "force" "make it...
Paul Davis [Mon, 24 Mar 2014 23:46:45 +0000 (19:46 -0400)]
add optional arg to Editor::ensure_time_axis_view_is_visible() to "force" "make it visible as the top track" behaviour

10 years agocomment tweak
Paul Davis [Mon, 24 Mar 2014 23:46:07 +0000 (19:46 -0400)]
comment tweak

10 years agofix a race condition between the death of a thread that communicates with an UI event...
Paul Davis [Mon, 24 Mar 2014 21:47:56 +0000 (17:47 -0400)]
fix a race condition between the death of a thread that communicates with an UI event loop and the event loop itself.

The comment tries to explain it all. There may be a better solution, but I believe that this one is
(a) safe (b) better than the old approach.

10 years agoselecting a track/bus in the editor list now selects it in the canvas, and also ensur...
Paul Davis [Mon, 24 Mar 2014 21:31:26 +0000 (17:31 -0400)]
selecting a track/bus in the editor list now selects it in the canvas, and also ensures that it is visible

Visibility is done with Editor::ensure_time_axis_view_is_visible(), and ctrl-click in the editor list
was also modified to use the same method.

10 years agoModify some initialization slightly to keep MSVC happy
John Emmas [Mon, 24 Mar 2014 18:48:26 +0000 (18:48 +0000)]
Modify some initialization slightly to keep MSVC happy

10 years agofix return in ::drop_device()
Paul Davis [Mon, 24 Mar 2014 17:53:42 +0000 (13:53 -0400)]
fix return in ::drop_device()

10 years agocall AudioBackend::drop_device() when dropping a backend.
Paul Davis [Mon, 24 Mar 2014 17:42:05 +0000 (13:42 -0400)]
call AudioBackend::drop_device() when dropping a backend.

It is not clear that ::drop_device() is part of the same semantic operation as ::stop(), so
we call them separatey

10 years agoadd ::drop_device() method to ARDOUR::AudioBackend
Paul Davis [Mon, 24 Mar 2014 17:40:44 +0000 (13:40 -0400)]
add ::drop_device() method to ARDOUR::AudioBackend

10 years agoadd needed separator
Ben Loftis [Mon, 24 Mar 2014 02:22:33 +0000 (21:22 -0500)]
add needed separator

10 years agofiles for ArdourMenu
Ben Loftis [Sun, 23 Mar 2014 23:15:34 +0000 (18:15 -0500)]
files for ArdourMenu

10 years agoNew theme for editor window using ArdourMenu
harrison [Sun, 23 Mar 2014 23:11:42 +0000 (18:11 -0500)]
New theme for editor window using ArdourMenu

10 years agoproper vpab speaker constraints
Robin Gareus [Sun, 23 Mar 2014 02:42:55 +0000 (03:42 +0100)]
proper vpab speaker constraints

10 years agoprepare for the day when there can be TimeAxisView's that are not RouteTimeAxisViews.
Robin Gareus [Sun, 23 Mar 2014 02:11:08 +0000 (03:11 +0100)]
prepare for the day when there can be TimeAxisView's that are not RouteTimeAxisViews.

10 years agojust bail out (to prevent further harm) if no panners are found.
Robin Gareus [Sun, 23 Mar 2014 02:10:00 +0000 (03:10 +0100)]
just bail out (to prevent further harm) if no panners are found.

10 years agofix undefined value, support netjack2
Robin Gareus [Sun, 23 Mar 2014 01:26:37 +0000 (02:26 +0100)]
fix undefined value, support netjack2

10 years agofix yet another possible memory leak
Robin Gareus [Sun, 23 Mar 2014 01:19:05 +0000 (02:19 +0100)]
fix yet another possible memory leak

10 years agocatch OOM
Robin Gareus [Sun, 23 Mar 2014 01:18:49 +0000 (02:18 +0100)]
catch OOM

10 years agoassure midi patch ID is set before assigning it
Robin Gareus [Sun, 23 Mar 2014 00:14:36 +0000 (01:14 +0100)]
assure midi patch ID is set before assigning it

10 years agoremove dead code (PIChaser has been superseded with PLL,DLL)
Robin Gareus [Sun, 23 Mar 2014 00:07:17 +0000 (01:07 +0100)]
remove dead code (PIChaser has been superseded with PLL,DLL)

10 years agofix timecode initialization
Robin Gareus [Sun, 23 Mar 2014 00:02:36 +0000 (01:02 +0100)]
fix timecode initialization

10 years agofix some memory leaks
Robin Gareus [Sat, 22 Mar 2014 23:46:12 +0000 (00:46 +0100)]
fix some memory leaks

10 years agofix mismatch typo in sizeof
Robin Gareus [Sat, 22 Mar 2014 23:17:19 +0000 (00:17 +0100)]
fix mismatch typo in sizeof

10 years agofix edge case (partial write of LV2 worker message size)
Robin Gareus [Sat, 22 Mar 2014 23:04:46 +0000 (00:04 +0100)]
fix edge case (partial write of LV2 worker message size)

10 years agoremove unused header file
Robin Gareus [Sat, 22 Mar 2014 17:25:09 +0000 (18:25 +0100)]
remove unused header file

10 years agoreplace use of Gio:: for plugin state
Robin Gareus [Sat, 22 Mar 2014 16:40:43 +0000 (17:40 +0100)]
replace use of Gio:: for plugin state

10 years agoreplace use of Gio:: with primitives (fix for #5889 part 1)
Robin Gareus [Sat, 22 Mar 2014 16:02:39 +0000 (17:02 +0100)]
replace use of Gio:: with primitives (fix for #5889 part 1)

10 years agomerge with master, primarily for adrian's maximise-mixer change
Paul Davis [Sat, 22 Mar 2014 14:58:26 +0000 (10:58 -0400)]
Merge ... master, primarily for adrian's maximise-mixer change

10 years agofix thinko
Paul Davis [Fri, 21 Mar 2014 20:28:07 +0000 (16:28 -0400)]
fix thinko

10 years agoMinor visibility changes to libevoral (template objects can be exported in libevoral...
John Emmas [Fri, 21 Mar 2014 18:57:36 +0000 (18:57 +0000)]
Minor visibility changes to libevoral (template objects can be exported in libevoral because they're always instantiated in the actual DLL).

10 years agoAvoid some ambiguous calls to 'floor()' which were upsetting MSVC
John Emmas [Fri, 21 Mar 2014 18:24:36 +0000 (18:24 +0000)]
Avoid some ambiguous calls to 'floor()' which were upsetting MSVC

10 years agoString object for Greek locale testing should have been Glib::ustring, rather than...
John Emmas [Fri, 21 Mar 2014 16:00:44 +0000 (16:00 +0000)]
String object for Greek locale testing should have been Glib::ustring, rather than std::string

(see my previous commit)

10 years agocheck if session dir is writable (needed for .bak files, undo, etc)
Robin Gareus [Fri, 21 Mar 2014 15:06:59 +0000 (16:06 +0100)]
check if session dir is writable (needed for .bak files, undo, etc)

10 years agoKeybindings for maximising the mixer window
Adrian Knoth [Fri, 21 Mar 2014 13:00:00 +0000 (14:00 +0100)]
Keybindings for maximising the mixer window

10 years agoAdd option to display the mixer in fullscreen
Adrian Knoth [Fri, 21 Mar 2014 12:45:00 +0000 (13:45 +0100)]
Add option to display the mixer in fullscreen

This is useful for dual-head setups.

10 years agoImplement 'fixup_bundle_environment()' for the MSVC build
John Emmas [Fri, 21 Mar 2014 14:56:59 +0000 (14:56 +0000)]
Implement 'fixup_bundle_environment()' for the MSVC build

10 years agoWhen finding the control surface DLLs (MSVC built), make sure we only find ones that...
John Emmas [Fri, 21 Mar 2014 14:54:21 +0000 (14:54 +0000)]
When finding the control surface DLLs (MSVC built), make sure we only find ones that match our build target

10 years agofix editor full-screen state when re-loading session
Robin Gareus [Fri, 21 Mar 2014 14:20:25 +0000 (15:20 +0100)]
fix editor full-screen state when re-loading session

10 years agolatest tweaks to autoscroll: symmetrical boundary on both sides, stop runaway scrolli...
Paul Davis [Fri, 21 Mar 2014 13:41:47 +0000 (09:41 -0400)]
latest tweaks to autoscroll: symmetrical boundary on both sides, stop runaway scrolling, and more

10 years agotweak meter-peak hold when using LED-striped meters
Robin Gareus [Fri, 21 Mar 2014 13:15:38 +0000 (14:15 +0100)]
tweak meter-peak hold when using LED-striped meters

10 years agofirst pass at quantizing vertical scroll to whole tracks.
Paul Davis [Fri, 21 Mar 2014 01:59:37 +0000 (21:59 -0400)]
first pass at quantizing vertical scroll to whole tracks.

Dragging regions vertically does the quantization BUT speed control is lacking and the region ends up on
a track that is still invisible ... to be fixed as the sun rises.

10 years agochange the meters into CairoWidget, add expose_area to CairoWidget::render()
Robin Gareus [Thu, 20 Mar 2014 22:50:40 +0000 (23:50 +0100)]
change the meters into CairoWidget, add expose_area to CairoWidget::render()

10 years agobig rework of scrolling, horizontal part considered almost 100% done.
Paul Davis [Thu, 20 Mar 2014 17:29:29 +0000 (13:29 -0400)]
big rework of scrolling, horizontal part considered almost 100% done.

Many more changes than I would typically like in a single commit, but this was all very intertwined.
Vertical scrolling using track-stepping still to follow.

10 years agovideotimeline: fix black-frame generation (sample aspect ratio) on export
Robin Gareus [Wed, 19 Mar 2014 22:46:01 +0000 (23:46 +0100)]
videotimeline: fix black-frame generation (sample aspect ratio) on export

10 years agotweak A/V import logic
Robin Gareus [Wed, 19 Mar 2014 17:12:16 +0000 (18:12 +0100)]
tweak A/V import logic

10 years agoclarify A/V import options
Robin Gareus [Wed, 19 Mar 2014 16:34:45 +0000 (17:34 +0100)]
clarify A/V import options

10 years agovideotimeline: fix black-frame generation (sample aspect ratio) on export
Robin Gareus [Wed, 19 Mar 2014 22:46:01 +0000 (23:46 +0100)]
videotimeline: fix black-frame generation (sample aspect ratio) on export