13
0
Commit Graph

6759 Commits

Author SHA1 Message Date
a8c56ff927 part one of allowing region drag to the bottom (drop-zone) rect of track canvas 2014-05-19 14:00:36 -04:00
ccdb047a0a don't load selected session if other-project is chosen:
1) Open Ardour
2) Select project from recent list
3) "Open Other" project
4) project from (2) is opened instead of the one chosen at (3)
2014-05-16 23:16:03 +02:00
4ece16be8e replace gettimeofday() with g_get_monotonic_time() 2014-05-16 18:13:08 +02:00
Devin J. Pohly
e7b3020294 fix rounding error in the min:sec ruler
When zoomed in to the millisecond level, the framerate was being divided
by 1000 as an integer to generate a ruler tick interval, which doesn't
work so well at things like 44100 or 88200.  Instead, just count this
value in milliseconds, dividing by 1000 when we are done.

This was purely a display issue - the grid was in the correct place.
2014-05-14 09:08:43 -04:00
Devin J. Pohly
db48bee3c7 fix major/minor ticks on min:sec ruler
All ticks from 0:00.000 to 0:00.999... were major, and everything after
was minor, instead of the correct distribution.
2014-05-14 09:08:14 -04:00
Devin J. Pohly
32f62beb90 fix major/minor ticks on min:sec ruler
All ticks from 0:00.000 to 0:00.999... were major, and everything after
was minor, instead of the correct distribution.
2014-05-14 08:36:03 -04:00
Devin J. Pohly
3b4b848d5a fix rounding error in the min:sec ruler
When zoomed in to the millisecond level, the framerate was being divided
by 1000 as an integer to generate a ruler tick interval, which doesn't
work so well at things like 44100 or 88200.  Instead, just count this
value in milliseconds, dividing by 1000 when we are done.

This was purely a display issue - the grid was in the correct place.
2014-05-14 08:35:43 -04:00
8a796bd5e1 Use Glib::usleep in Editor::timefx_thread on Windows 2014-05-14 09:47:40 +10:00
b768d6c39d Include windows.h for Registry access related API 2014-05-14 09:47:40 +10:00
ce5744ae51 Fix collision between keyword interface used in glibmm and windows headers 2014-05-14 09:47:40 +10:00
592a21db5f Oops - minor spelling corrections 2014-05-10 08:41:49 +01:00
b377bc44c2 Bug fix imported from Mixbus2 (SVN r11448)
If we couldn't figure out a plugin creator's name, either use as much of it as we could determine or mark the creator as 'Unknown'
2014-05-10 08:32:14 +01:00
349f66f413 Fix region content drag direction
Fix <Control>+drag in bottom of region to move the region contents in the
expected direction.
2014-05-07 19:38:22 +01:00
9a35f73b9e Fix undo of layer-changing region drags
Move clear_changes() of the playlist on which a region has been dragged
before calling set_layer() on that playlist, so that undo of region drags
in layered mode undoes any layer changes too.

Should fix #5904
2014-05-07 19:38:07 +01:00
56af57d682 shift-modifier during trim dragging causes region to jump to original position (anchored at start or end, depending on trim type) 2014-05-07 12:13:34 -04:00
fbbf911229 fix mingw build - needs bundle_env_mingw.cc when building with mingw, and that is a build target, not a platform 2014-05-06 14:07:29 -04:00
Adrian Knoth
3fa8127d58 Add ComboOption configuration for default-fade-shape
Let the user choose the preferred default fade shape in the editor
section of the preference menu.
2014-05-01 20:02:19 +02:00
079d6a2866 if using the audio/MIDI setup dialog because there are >1 backends, but the chosen backend is not under our control (i.e. JACK), remember to start it before returning from the dialog 2014-05-01 12:31:35 -04:00
6544df039b change location marker ruler text for get_trx() == true case 2014-05-01 07:53:46 -04:00
302fd7efeb correctly set up ruler preferences for get_trx() == true case 2014-05-01 07:53:28 -04:00
1ac8815296 script to run ardour under callgrind 2014-04-30 19:06:32 +02:00
e6cb3e8bb2 remove two more unnecessary instances of os.path.join in install path definitions 2014-04-29 16:06:39 -04:00
Carl Hetherington
152935e736 Merge branch 'cairocanvas' of git.ardour.org:ardour/ardour into cairocanvas 2014-04-29 12:42:49 +01:00
38125d60c9 "sequence regions" operation (remove space between selected regions) added, c/o Thomas Brand 2014-04-29 00:11:05 -04:00
2f6065b32c Fixed problem where importing invalid midi files caused crash. 2014-04-29 06:48:29 +10:00
9907d25ea5 skeleton dummy audio-engine 2014-04-28 21:29:35 +02:00
Carl Hetherington
e36f74e071 Fix some capitalisation in the preferences dialog. 2014-04-28 10:25:43 +01:00
c2a376a822 NOOP, no whitespace at EOF 2014-04-24 20:55:03 +02:00
523891f8f9 fix packing of LXVST UIs (minimum size, border) 2014-04-24 20:54:40 +02:00
9f266e9061 try get_win_special_folder() for harvid & xjadeo (if registry fails) 2014-04-24 13:22:17 +02:00
1929cbffb4 query windows registry for xjadeo & harvid path 2014-04-24 02:08:19 +02:00
8a8dc9ca04 fix xjadeo on windows (directly use xjadeo.exe) 2014-04-23 21:27:05 +02:00
cf61fb07b8 dynamically adjust open-video-dialog layout depending on configuration 2014-04-22 04:18:35 +02:00
c4bb32892f increase LXVST GUI idle call regularity, aim for 25Hz 2014-04-21 14:44:36 +02:00
67ddda0158 vtl: fix leftover typo in request URL (noop) 2014-04-21 13:45:53 +02:00
1ea6321ad5 update GUI while waiting for video server to respond 2014-04-20 02:51:27 +02:00
0524f1ec14 add missing "Path" to label, re-order VST preferences 2014-04-20 02:51:27 +02:00
c123829c0a Save any cached fonts into our dedicated cache folder (msvc)
(modifies the appropriate entry in 'fonts.conf')
2014-04-19 13:09:06 +01:00
4fd1a5edd5 videotimeline: path related fixes for windows 2014-04-19 02:03:43 +02:00
8accb22923 put back bottom line of region views if name highlight is not shown.
Also remove redundant line that replicated the one we modified.
2014-04-18 05:08:17 -04:00
06b700abf2 fix VST GUI swallowing for windows 2014-04-18 01:54:59 +02:00
2e63b84a10 account for MS version of std::isalnum() - fixes assert on UTF8 2014-04-17 23:24:37 +02:00
3131ab8bbd 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.
2014-04-17 09:47:06 -04:00
59e6694405 fix lack of region trimming when not displaying name highlight bar 2014-04-16 09:03:16 -04:00
78bab09e98 improve comment text 2014-04-16 07:35:20 -04:00
0f7f9b068c add preferences item for show-name-highlight (does not take effect till next instance) 2014-04-16 07:31:01 -04:00
e324249d8c fix logic for Config->show_name_highlight (reversed from inital experiments) 2014-04-16 07:30:09 -04:00
981754781a use new config option to control name highlight and name placement 2014-04-16 06:35:24 -04:00
5668eea2a3 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"
2014-04-16 04:16:56 -04:00
8b93576c18 not that anyone ever runs with the SAE profile and not that we want to support it, but don't crash if they do 2014-04-16 03:00:49 -04:00
dbb8501429 make our intentions even clearer when call Editor::track_canvas_viewport_size_allocated() 2014-04-16 02:55:08 -04:00
fea4f14242 make our intentions clear when call Editor::track_canvas_viewport_size_allocated() 2014-04-16 02:52:55 -04:00
0d1d50a8b4 remove pointless assert (since condition is if-tested just before it was used) 2014-04-15 14:30:37 -04:00
2b10af45ab Ensure that 'fixup_bundle_environment()' returns a suitable localedir (msvc) 2014-04-15 18:53:24 +01:00
dc4eae5c37 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).
2014-04-15 12:44:49 -04:00
dbaf203bac fix ridiculous spelling error 2014-04-15 12:44:49 -04:00
70755c9950 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)
2014-04-15 11:01:48 +01:00
dcd18d84ef Make sure that the preprocessor directive in 'winmain.cc' matches the one in 'main.cc'
(also, some minor housekeeping)
2014-04-15 10:56:12 +01:00
0d5f4c553a 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.
2014-04-14 13:05:08 -04:00
7cc5f8b321 fix prev commit (MSVC release builds) 2014-04-14 17:59:28 +02:00
18d4fd9f37 fun with the c-preprocessor. platform dependent VST support. 2014-04-14 17:54:21 +02:00
4336f75d3b Make sure that when building with MSVC, a Release build will launch without an annoying, floating console window 2014-04-14 16:14:06 +01:00
15c5d12321 clean up 6cc2812f2e (interim vst fixes) 2014-04-14 15:10:28 +02:00
eef4e1efee -d (disable plugin) option takes no arguments 2014-04-14 12:26:10 +02:00
55bfe10fa6 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.
2014-04-14 04:46:24 -04:00
343b06d8d3 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.
2014-04-14 02:17:30 -04:00
unknown
6cc2812f2e interim vst fixes 2014-04-11 14:23:29 -05:00
f678700376 amend previous commit, remove cruft, no more extern function pointers 2014-04-11 19:36:17 +02:00
670c066793 add manual reference to missing video-tools warnings 2014-04-11 17:24:50 +02:00
5d9c2104d2 Oops - correct some typos in my previous commit
(accidentally used G_DIR_SEPARATOR instead of G_SEARCHPATH_SEPARATOR)
2014-04-11 15:36:04 +01:00
d95de39339 Make sure we use the correct style of filepath separator on Windows
('libs/ardour/file_source.cc' still to be investigated)
2014-04-11 13:03:48 +01:00
0b0a80d571 fix tetris-ized mixer strips AND return option to have group button in mixer strip 2014-04-10 15:26:15 -04:00
176a668952 fix borked cpp directives in trx menu file 2014-04-10 15:25:43 -04:00
509159c3c6 first pass hiding/rearrangement of UI elements related to trx 2014-04-10 13:30:25 -04:00
2974c87684 parameterize install target directories based on --program-name configure option 2014-04-10 10:23:16 -04:00
aac77d08a3 language correction in option description (in => using) 2014-04-10 10:22:49 -04:00
f2673bb9bf remove reference to JACK constant 2014-04-10 10:22:13 -04:00
32fc7a81c5 clean up use of JACK name in messages 2014-04-10 10:21:47 -04:00
232cb73983 remove final reference to jack headers 2014-04-10 10:17:36 -04:00
68c5f05704 remove final reference to jack headers 2014-04-10 10:14:45 -04:00
dc0723655e remove use of JACK headers to allow building on systems without JACK 2014-04-10 08:58:51 -04:00
5f98ad2187 initial trim of trx.menus 2014-04-10 07:31:43 -04:00
21a6c20e9a always build all per-program menu files so that we can try them out with different builds 2014-04-10 07:31:26 -04:00
75210a480c don't mention ardour.menus explicitly if an error loading menu file ocurrs 2014-04-10 07:31:06 -04:00
3ca332343e add new trx menus file 2014-04-10 05:58:49 -04:00
716c5b0642 new configure option for trx build, which also generates new menus file 2014-04-10 05:58:49 -04:00
782f67d2bc use TRX Profile to alter transport button layout 2014-04-10 05:58:49 -04:00
62e66b05dc set Profile TRX element at startup 2014-04-10 05:58:49 -04:00
59cdb46c2f provide a non-hard-coded menu file name to ActionManager when loading menus 2014-04-10 05:58:48 -04:00
4652671a88 Modify 'gtk2_ardour/nsmclient.cc' to add MSVC support for LO_TT_IMMEDIATE 2014-04-08 09:57:20 +01:00
Sakari Bergen
8bd6de3f4e export ARDOUR_TEST_PATH for artest
We should probably remove the old test running stuff from libs/ardour.
Does someone still need it?
2014-04-07 21:36:58 +03:00
65f5f17c18 fix typo 2014-04-02 18:48:28 +02:00
Paul Davis
f89ddb10aa comment edit 2014-04-01 04:14:34 -04:00
f5602071ce Add internationalization support for my newly committed 'bundle_env_msvc.cc'
(also, move a #included file to keep MSVC happy)
2014-03-27 10:16:28 +00:00
e6a011b969 Add the code for 'load_custom_fonts()' (though not entirely sure if it's actually doing enything...) 2014-03-27 08:14:11 +00:00
6bcee4e9c8 rename ArdourMenu to ArdourDropdown 2014-03-26 11:40:25 -05:00
4c2e846126 the FlatFace element is no longer relevant. instead it was being used for an inset jeweled look. changed name to match 2014-03-26 11:37:28 -05:00
4e5d977fb1 add back track shrink/expand buttons 2014-03-25 10:43:04 -04:00
200a67fba8 most of the support for save/restore of visible track count 2014-03-25 10:33:18 -04:00
7fac3674c3 actually resize track heights to follow visible-tracks choice 2014-03-25 09:02:31 -04:00
5a90bef08b revert to use red border to indicate rec-arm instead of pink color 2014-03-25 08:02:26 -05:00
da36a8ee09 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 2014-03-25 08:21:08 -04:00
c16a577a8d brownish zoom buttons 2014-03-25 06:36:09 -05:00
95f81e2d24 add optional arg to Editor::ensure_time_axis_view_is_visible() to "force" "make it visible as the top track" behaviour 2014-03-24 19:46:45 -04:00
012504d35a 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.
2014-03-24 17:32:04 -04:00
cc93a9f3dd add needed separator 2014-03-23 21:22:33 -05:00
b7b8f91e67 files for ArdourMenu 2014-03-23 18:15:34 -05:00
harrison
b9708d5f6b New theme for editor window using ArdourMenu 2014-03-23 18:11:42 -05:00
87c777450b prepare for the day when there can be TimeAxisView's that are not RouteTimeAxisViews. 2014-03-23 03:11:08 +01:00
89e63b4bce fix some memory leaks 2014-03-23 00:46:12 +01:00
86343b6c15 merge with master, primarily for adrian's maximise-mixer change 2014-03-22 10:58:26 -04:00
2044c12b7b String object for Greek locale testing should have been Glib::ustring, rather than std::string
(see my previous commit)
2014-03-21 16:02:46 +00:00
Adrian Knoth
c0845bed53 Keybindings for maximising the mixer window 2014-03-21 16:08:53 +01:00
Adrian Knoth
5f45828c67 Add option to display the mixer in fullscreen
This is useful for dual-head setups.
2014-03-21 16:08:53 +01:00
38a180ddc6 Implement 'fixup_bundle_environment()' for the MSVC build 2014-03-21 14:56:59 +00:00
640bd36906 fix editor full-screen state when re-loading session 2014-03-21 15:21:09 +01:00
4f7d94ea67 latest tweaks to autoscroll: symmetrical boundary on both sides, stop runaway scrolling, and more 2014-03-21 09:49:35 -04:00
65b4308c84 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.
2014-03-21 07:02:32 -04:00
ab44e41dfd change the meters into CairoWidget, add expose_area to CairoWidget::render() 2014-03-20 23:50:40 +01:00
9df3157dfc 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.
2014-03-20 13:29:45 -04:00
92b7e0709c videotimeline: fix black-frame generation (sample aspect ratio) on export 2014-03-20 00:15:39 +01:00
7e2518ec77 tweak A/V import logic 2014-03-20 00:15:34 +01:00
01082ff941 clarify A/V import options 2014-03-20 00:15:26 +01:00
01c6266909 videotimeline: fix black-frame generation (sample aspect ratio) on export 2014-03-19 23:46:01 +01:00
7022456b4f tweak A/V import logic 2014-03-19 18:22:24 +01:00
7d66ae5b51 clarify A/V import options 2014-03-19 18:22:24 +01:00
2952ac05e6 fixed a few warnings from clang static analysis 2014-03-18 22:51:44 +01:00
21c32d68ef Move '++next' (when sorting marker labels) so there's absolutely no chance of incrementing it once it reaches the list end 2014-03-15 14:40:36 +00:00
42e6353338 fix thinko when relabelling markers 2014-03-14 13:46:30 -04:00
543099afba rework SystemExec - use vfork wrapper (and lots of related stuff) 2014-03-13 16:58:07 +01:00
f48b556888 do not use Item::move() when dragging notes since this resets the Item's position in its group, rather than its coordinates.
This fixes the double-distance/wrongly drawn location of MIDI notes after a drag
2014-03-13 11:02:06 -04:00
c04081681c remove debug output 2014-03-13 08:43:07 -04:00
95c214c923 fix up button selection operation so that fade drags work again 2014-03-13 08:39:14 -04:00
36160b88cd fixes, hopefully, for canvas cursor misbehaviour near/in regionviews 2014-03-11 22:39:04 -04:00
279aefc60e fix error in height computation of MIDI region views (FUDGE!) use Rectangle::set_outline_all() and avoid the removed integer version of ::set_outline_what() 2014-03-11 07:39:25 -04:00
c10896e984 use and wrap Rectangle::set_outline_all() method 2014-03-11 07:38:02 -04:00
c2885671c6 avoid multiple requests for redraws when resetting a TimeAxisViewItem name highlight 2014-03-11 07:37:20 -04:00
495c0de4ac fix up waf build in wake of search path changes earlier today 2014-03-10 17:30:12 -04:00
72965e411f improve (though not 100% perfect) handling of region trim handles and mouse mode interaction 2014-03-10 12:14:37 -04:00
1374501727 tempo match midi auditioning - #5881 2014-03-10 00:48:48 +01:00
10e34a9831 default plugin scan timeout preference 2014-03-09 20:32:52 +01:00
ba0ae4818a [VST] scan timeout display and per plugin timeout override. 2014-03-09 20:32:52 +01:00
da73b0f670 prepare configurable VST scan timeout 2014-03-09 20:32:52 +01:00
1beed21c8a don't show frame trim handles when in internal editing mode 2014-03-07 12:27:48 -05:00
170aee13eb third part of the logic fix for percussive note trimming 2014-03-07 11:24:06 -05:00
3cfc873914 second part of the logic fix for percussive note trimming 2014-03-07 11:23:48 -05:00
0ef3fedf9a fix up some logic that allowed hits (percussive note display) to be trimmed with the mouse, which was not intended 2014-03-07 11:22:49 -05:00
770dbf8fdc remove irrelevant comment 2014-03-07 09:25:18 -05:00
fa5529b694 fix missing Hit destructor, which left polygons all over the canvas after deleting the Hit object(s) 2014-03-06 23:17:04 -05:00
41c4c41eaa fix apparent logic error for MidiRegionView when redisplaying note model 2014-03-06 23:16:42 -05:00