ardour.git
10 years agono vfork wrapper on windows
Robin Gareus [Fri, 18 Apr 2014 22:54:28 +0000 (00:54 +0200)]
no vfork wrapper on windows

10 years agoMerge branch 'cairocanvas' of git.ardour.org:ardour/ardour into cairocanvas
unknown [Fri, 18 Apr 2014 14:35:49 +0000 (09:35 -0500)]
Merge branch 'cairocanvas' of git.ardour.org:ardour/ardour into cairocanvas

10 years agoadd vsprops files
unknown [Fri, 18 Apr 2014 14:35:08 +0000 (09:35 -0500)]
add vsprops files

10 years agocorrect fix to OS X build script for patchfiles (spelling error)
Paul Davis [Fri, 18 Apr 2014 09:07:43 +0000 (05:07 -0400)]
correct fix to OS X build script for patchfiles (spelling error)

10 years agoput back bottom line of region views if name highlight is not shown.
Paul Davis [Fri, 18 Apr 2014 09:07:20 +0000 (05:07 -0400)]
put back bottom line of region views if name highlight is not shown.

Also remove redundant line that replicated the one we modified.

10 years agofix VST GUI swallowing for windows
Robin Gareus [Thu, 17 Apr 2014 23:54:59 +0000 (01:54 +0200)]
fix VST GUI swallowing for windows

10 years agoaccount for MS version of std::isalnum() - fixes assert on UTF8
Robin Gareus [Thu, 17 Apr 2014 21:24:37 +0000 (23:24 +0200)]
account for MS version of std::isalnum() - fixes assert on UTF8

10 years agonew transport option, "loop-is-mode" which optionally changes the role of the "play...
Paul Davis [Thu, 17 Apr 2014 13:47:06 +0000 (09:47 -0400)]
new transport option, "loop-is-mode" which optionally changes the role of the "play loop" button.

If enabled, then the button simply changes the behaviour of the "play" button rather than actually starting playback. If disabled
transport behaviour should be unchanged from before.

10 years agofix lack of region trimming when not displaying name highlight bar
Paul Davis [Wed, 16 Apr 2014 13:03:16 +0000 (09:03 -0400)]
fix lack of region trimming when not displaying name highlight bar

10 years agoimprove comment text
Paul Davis [Wed, 16 Apr 2014 11:35:20 +0000 (07:35 -0400)]
improve comment text

10 years agoadd preferences item for show-name-highlight (does not take effect till next instance)
Paul Davis [Wed, 16 Apr 2014 11:31:01 +0000 (07:31 -0400)]
add preferences item for show-name-highlight (does not take effect till next instance)

10 years agofix logic for Config->show_name_highlight (reversed from inital experiments)
Paul Davis [Wed, 16 Apr 2014 11:30:09 +0000 (07:30 -0400)]
fix logic for Config->show_name_highlight (reversed from inital experiments)

10 years agouse new config option to control name highlight and name placement
Paul Davis [Wed, 16 Apr 2014 10:35:24 +0000 (06:35 -0400)]
use new config option to control name highlight and name placement

10 years agoadd new config parameter controlling visibility of name highlights in regions.
Paul Davis [Wed, 16 Apr 2014 10:31:24 +0000 (06:31 -0400)]
add new config parameter controlling visibility of name highlights in regions.

This also affects region name placement.

10 years agoadd a transparent rect that is always located at the bottom of the track canvas
Paul Davis [Wed, 16 Apr 2014 08:16:56 +0000 (04:16 -0400)]
add a transparent rect that is always located at the bottom of the track canvas

This gives us an event/drag-n-drop/click target for things "at the bottom"

10 years agonot that anyone ever runs with the SAE profile and not that we want to support it...
Paul Davis [Wed, 16 Apr 2014 07:00:49 +0000 (03:00 -0400)]
not that anyone ever runs with the SAE profile and not that we want to support it, but don't crash if they do

10 years agomake our intentions even clearer when call Editor::track_canvas_viewport_size_allocated()
Paul Davis [Wed, 16 Apr 2014 06:55:08 +0000 (02:55 -0400)]
make our intentions even clearer when call Editor::track_canvas_viewport_size_allocated()

10 years agomake our intentions clear when call Editor::track_canvas_viewport_size_allocated()
Paul Davis [Wed, 16 Apr 2014 06:52:55 +0000 (02:52 -0400)]
make our intentions clear when call Editor::track_canvas_viewport_size_allocated()

10 years agoremove pointless assert (since condition is if-tested just before it was used)
Paul Davis [Tue, 15 Apr 2014 18:29:44 +0000 (14:29 -0400)]
remove pointless assert (since condition is if-tested just before it was used)

10 years agoEnsure that 'fixup_bundle_environment()' returns a suitable localedir (msvc)
John Emmas [Tue, 15 Apr 2014 17:53:24 +0000 (18:53 +0100)]
Ensure that 'fixup_bundle_environment()' returns a suitable localedir (msvc)

10 years agohopefully fix issue with Editor::set_canvas_cursor_for_region_view() which was incorr...
Paul Davis [Tue, 15 Apr 2014 16:44:11 +0000 (12:44 -0400)]
hopefully fix issue with Editor::set_canvas_cursor_for_region_view() which was incorrectly switching to trim cursors.

This started happening more frequently after this function started to be called more often (which was the right thing to do, but
had this side effect (now fixed).

10 years agofix ridiculous spelling error
Paul Davis [Tue, 15 Apr 2014 16:15:30 +0000 (12:15 -0400)]
fix ridiculous spelling error

10 years agoexplicitly create MIDNAM folder in OS X app packaging
Paul Davis [Mon, 14 Apr 2014 18:18:21 +0000 (14:18 -0400)]
explicitly create MIDNAM folder in OS X app packaging

10 years agoAdd some stuff that's needed for an MSVC built target:-
John Emmas [Tue, 15 Apr 2014 10:01:48 +0000 (11:01 +0100)]
Add some stuff that's needed for an MSVC built target:-

1) Make sure we create or open any files in binary mode
2) Make sure the user can see an error message of we fail to parse the command line
3) Make sure that the call to 'windows_vst_gui_init()' matches its declaration (i.e. only applicable when NOT on PLATFORM_WINDOWS)

10 years agoMake sure that the preprocessor directive in 'winmain.cc' matches the one in 'main.cc'
John Emmas [Tue, 15 Apr 2014 09:56:12 +0000 (10:56 +0100)]
Make sure that the preprocessor directive in 'winmain.cc' matches the one in 'main.cc'

(also, some minor housekeeping)

10 years agoMake sure that the input string doesn't go out of scope when using boost::tokenizer
John Emmas [Mon, 14 Apr 2014 19:26:48 +0000 (20:26 +0100)]
Make sure that the input string doesn't go out of scope when using boost::tokenizer

10 years agofix prev commit (MSVC release builds)
Robin Gareus [Mon, 14 Apr 2014 15:59:28 +0000 (17:59 +0200)]
fix prev commit (MSVC release builds)

10 years agofun with the c-preprocessor. platform dependent VST support.
Robin Gareus [Mon, 14 Apr 2014 15:54:21 +0000 (17:54 +0200)]
fun with the c-preprocessor. platform dependent VST support.

10 years agoNow that we can build with VST support, make sure our MSVC build knows about it
John Emmas [Mon, 14 Apr 2014 15:02:06 +0000 (16:02 +0100)]
Now that we can build with VST support, make sure our MSVC build knows about it

10 years agoMake sure that when building with MSVC, a Release build will launch without an annoyi...
John Emmas [Mon, 14 Apr 2014 14:54:32 +0000 (15:54 +0100)]
Make sure that when building with MSVC, a Release build will launch without an annoying, floating console window

10 years agoremove code intended for use with basename(), fix memory leak since g_path_get_basena...
Robin Gareus [Mon, 14 Apr 2014 13:21:29 +0000 (15:21 +0200)]
remove code intended for use with basename(), fix memory leak since g_path_get_basename() returns a newly allocated string.

10 years agoclean up 6cc2812f2e8 (interim vst fixes)
Robin Gareus [Mon, 14 Apr 2014 13:10:28 +0000 (15:10 +0200)]
clean up 6cc2812f2e8 (interim vst fixes)

10 years agodespite what MSVC thinks, C is not C++.
Robin Gareus [Mon, 14 Apr 2014 13:04:50 +0000 (15:04 +0200)]
despite what MSVC thinks, C is not C++.

10 years agomake frame/trim handles transparent for now.
Paul Davis [Mon, 14 Apr 2014 08:46:24 +0000 (04:46 -0400)]
make frame/trim handles transparent for now.

This is a new GUI feature that will not be completed for the 3.6 release, so just hide them.

10 years agomore work on linking file existence and removability
Paul Davis [Mon, 14 Apr 2014 07:03:35 +0000 (03:03 -0400)]
more work on linking file existence and removability

10 years agocheck whether a source with the same path exists in session list not just on disk.
Paul Davis [Sun, 13 Apr 2014 15:35:49 +0000 (11:35 -0400)]
check whether a source with the same path exists in session list not just on disk.

This is intended to catch a potential wierd condition where a source exists as a stub, but has not yet been written to disk,
and then a new source is created with the same path. Currently it is not understood how/when this might happen

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