Commit Graph

7479 Commits

Author SHA1 Message Date
a1245de1ba track height fixes:
* retain [custom] track-height
  Editor::override_visible_track_count() is called repeatedly (for
  every change), there was a 50/50 chance of it saving the right value.

* adjust default for new sessions: use “Normal” track height until
  told otherwise.
2014-10-20 20:33:28 +02:00
ffde2fb5f9 OS 10.10 compile fixes
* fix clang pickiness regarding boolean
 * ignore ‘verify’ macro
 * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
2014-10-19 23:15:13 +02:00
d34bd9e6a0 fix midi automation sliders
Allow controls to work without a list. see also 34c1465 and b469cd2
2014-10-16 21:21:45 +02:00
8d8717800d add tearoff reattach for the editor 2014-10-16 13:44:36 -04:00
8097b8c762 add action and menu entry for "reattach all tearoffs".
So far only does the transport tearoff
2014-10-16 13:44:36 -04:00
fd79656d60 remove duplicate windows includes 2014-10-16 11:51:47 +02:00
ad017365f7 Merge branch 'cairocanvas' 2014-10-16 05:12:52 -04:00
e250eb5525 forward port ffd5c24 from master (extend video file ext list) 2014-10-16 01:16:07 +02:00
f77f54a6e2 correct msg in fatal error 2014-10-14 12:57:39 -04:00
128b240f46 remove code commented out in 0874426a (2009/06) 2014-10-14 12:56:28 -04:00
fc08e10562 fix note 0015914 (part of #5589) 2014-10-13 21:02:20 -04:00
4d0f30f5a8 fix note 0015900 on #5589 (cursor doesn't change when switching edit point 2014-10-13 15:19:07 -04:00
7ea039ee91 add script to run vst-scanner in gdb 2014-10-11 21:00:59 +02:00
e19e6dc73a amend 5d0303b - fix editor summary leak 2014-10-11 13:36:52 +02:00
5d0303b851 fix memory leak in editor summary. 2014-10-10 16:18:03 +02:00
ac420ba87d amend previous commit
blame gitx 0.15.1949: it updates the stage view
even though the changes are not staged.
2014-10-10 15:24:52 +02:00
3121f5b2fc add script to run ardour in valgrind/massif 2014-10-10 15:03:26 +02:00
e6252e0494 add support for OSX 10.9 clang's lldb (there's no gdb on 10.9) 2014-10-09 09:56:18 +02:00
aac3ca5521 initialize some uninitialized vars - closes #5974 2014-10-08 19:16:21 +02:00
a7da906a79 NOOP, proper label for flat carbon header includes 2014-10-07 16:53:10 +02:00
aab64ecd5c OSX 10.9.5 clang++ loves nil more than ever
#undef nil // for sigc++ compat does no longer work as expected.
2014-10-07 14:48:08 +02:00
7bfa25777b OSX 10.9.5 compile fixes - part one 2014-10-07 14:46:06 +02:00
d1564669cf windows application icon 2014-10-05 02:12:25 +02:00
3f7986198b fix typo in 9034e58b1 2014-10-03 23:58:51 +02:00
9034e58b15 set mingw vamp plugin path 2014-10-03 23:07:45 +02:00
c3847269c2 fix crash when changing the Audio System
When the i/o channel spinbox widgets are realized, they call
print_channel_count(). A "0" is formatted as "all available channels".
This causes the GTK::Entry inside the spinbox to emit a "changed"
signal which in turn triggers a parameter_changed(), [..], store_state(),
which calls into the spinbox again while it is being realized,
which makes gtkmm barf.

Start Ardour with JACK running (autoconnect to jack), Window ->
Audio/Midi settings -> initial no_control_notebook. Change
Audio System -> [control widgets are realized] -> glibmm std::exception
2014-10-03 15:32:12 +02:00
5e61c8ab12 fix engine control widget sensitivity 2014-10-03 15:08:06 +02:00
c2fc7f04a7 Don't select newly created regions after splitting selected regions (except on Mixbus)
I can't see a reason to select the newly-created regions after
splitting selected regions: I can't think of any case where you'd want
the next operation to apply to both the regions, and it makes it very
easy (in my experience) to trim/move/&c. both regions afterwards by
mistake.

However, this behaviour is desired for Mixbus, so make the selection of
regions after a split of selected regions dependent on
Profile->get_mixbus() for now.
2014-10-02 21:00:33 +01:00
1d790355ca Fix warning from ./waf i18n about empty string
./waf i18n warns about passing an empty string to _(). Actually, the code
in question just wants to make a label not appear, so it might as well
just hide or show it as appropriate rather than attempting to set its
text to the empty string.
2014-10-02 18:03:19 +01:00
609d3688f0 Updated UK English translation 2014-10-02 18:03:19 +01:00
44f71ce599 Text tweaks and typo fixes 2014-10-02 18:03:19 +01:00
1c5246b5f1 amend 24289299 - pango fontmap w/mingw 2014-10-02 19:01:12 +02:00
242892999f register ArdourMono font with windows 2014-10-02 06:11:15 +02:00
0d20cd5911 from zero to windows installer 2014-10-02 00:48:36 +02:00
4f58638ac0 harfbuzzed - also reverts 666de70d 2014-10-01 16:24:37 +02:00
d75d6a833a mingw environment: ArdourMono.ttf 2014-10-01 04:01:14 +02:00
a968df97de update video NO_OFFSET to 64 bit 2014-10-01 00:26:21 +02:00
50a7637d09 fix waf install, update ui config name 2014-10-01 00:12:29 +02:00
666de70ddc pango --with-included-modules=yes does not provide explicit pangoft header 2014-09-30 19:08:17 +02:00
6ce93913f5 VST native windows does not need vst/winmain.c 2014-09-30 19:08:16 +02:00
87d3d5a08a fix include order 2014-09-30 19:08:16 +02:00
e7255b0473 rename variable: 'small' is a keyword on mingw/win32 2014-09-30 19:08:16 +02:00
738336fbd5 invalidate meter's ColorsChanged connection:
fixes crash: open session, close, open another session, change theme.
old [destoyed] meters from first session were notified about color change.
2014-09-27 19:17:13 +02:00
fb0de10b93 un-hardcode DIN & VU meter-colors, 2014-09-27 17:28:32 +02:00
4cc07a2a5c reinstate tooltip style 2014-09-26 11:04:56 -04:00
94fd0b39e0 fix position of left edge of a marker rectangle when the label is on the left, and slightly pad the rectangle when the label is on the right 2014-09-22 12:03:30 -04:00
45fd3593eb Fix finding session templates
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-09-22 13:21:14 +01:00
6a971e645d use new ARDOUR::Location signals in GUI
Conflicts:
	gtk2_ardour/editor_markers.cc
2014-09-19 23:06:26 -04:00
ceff2e3a62 plugin widgets were written to use Internal values, so use that for now 2014-09-18 17:25:11 -05:00
e9ab53402c add action and menu item to control use of skip playback 2014-09-17 12:28:36 -04:00
0943a559e0 shift-drag on range marker bar creates skip ranges, for now 2014-09-17 10:59:19 -04:00
9331aa69bd new code to support creating skip markers 2014-09-17 09:39:29 -04:00
4130513689 remove old connections to (now) static Location signals 2014-09-17 09:39:05 -04:00
f415e24514 do not stupidly try to save punch/loop/session ranges during clear_ranges op 2014-09-17 09:38:17 -04:00
dc924db851 correctly connect to Location static signals 2014-09-17 09:37:39 -04:00
4e411dfd7b set the CairoWidget focus handler; reset focus when the mouse pointer leaves the Editor window 2014-09-16 12:46:39 -04:00
9204b2837e ArdourButton should call the focus handler of CairoWidget from its button press event 2014-09-16 12:45:21 -04:00
261aa3258f escape should reset focus as well as abort drags/clear selection 2014-09-16 11:09:12 -04:00
451e48de5f fix compiler warnings 2014-09-15 14:09:12 -04:00
bb5cd8aa32 fix compiler warning 2014-09-15 14:09:12 -04:00
8b98125ad3 fix various loop-initiation faults 2014-09-15 12:44:45 -05:00
0676cfc070 fix double-click-shows-region-properties in Ripple mode 2014-09-15 11:43:12 -05:00
2efc520f9d *t*racks not *c*hannels (amend 009ced9640) 2014-09-13 19:57:04 +02:00
d8e64103a6 fix CPI window handling:
Move control-surface editor-window management to the control surface.
The Preferences-Dialog is not aware of session specific or surface
specific actions and cannot properly manage the window.
2014-09-13 16:59:02 +02:00
009ced9640 fix crash when importing midi files with >1 midi-channel -- fixes #5965 2014-09-13 16:53:04 +02:00
07d0f8f1aa update ghost track colors:
'clip' and 'wave' need to have the same value,
since only either of them is painted.

desaturate background and show some wave-fill.
2014-09-13 16:53:04 +02:00
2abca85693 NOOP, format default-config values 2014-09-13 16:53:03 +02:00
8b4eb07ab7 Fix restore of Jack driver setting
A small hack to ensure that the driver setting in the audio engine dialog
is restored when ardour starts up and when switching drivers.
2014-09-13 15:27:30 +01:00
017dcfea45 Make zoom-to-session include regions currently being recorded 2014-09-13 15:27:30 +01:00
0ef661305d reasonable dB range for waveform clipping indicator 2014-09-13 01:48:11 +02:00
d80e55e828 don't clamp wave-fill alpha value when using region color 2014-09-13 01:48:11 +02:00
01974b5769 API flush static cairo pattern cache
(should probably be cleaned regularly
e.g. meterbridge resize)
2014-09-11 19:30:33 +02:00
5dd5bb7830 make valgrind output a bit more readable. 2014-09-11 03:04:12 +02:00
df19c576c7 fix a bunch of memory leaks 2014-09-11 03:04:11 +02:00
6b3d3e2f91 fix race-condition/segfault at exit:
suppress route-group-reorder signal when
session is being destroyed.
2014-09-11 03:04:11 +02:00
6f6e78284d initialize uninitialzed var 2014-09-11 03:04:11 +02:00
0bc6659f6b look for per-cursor-set hotspot info file when setting up mouse cursors 2014-09-10 19:40:24 -04:00
233d2e8530 add extra (default-ed) argument to ::get_icon_path() to allow it to be used to look for icon-related but non-image files 2014-09-10 19:39:15 -04:00
9b1cd13706 improve code for cursor creation; nominally use CursorInfo
even though we have no info files yet
2014-09-10 18:52:04 -04:00
cadbf191da grep unused styles from gtkrc 2014-09-10 17:52:20 +02:00
b5b080d2dd fix selection color in barcontroller's entry 2014-09-10 13:16:01 +02:00
19a57a2809 NOOP, indent & whitespace fixes 2014-09-09 14:40:22 +02:00
6954708865 clean up midi channel controls 2014-09-09 14:39:36 +02:00
3132a184f2 have another go at vertical text alignment 2014-09-09 02:26:58 +02:00
ca5eea2056 add an easy way to debug button sizes 2014-09-09 01:29:47 +02:00
b81ceeaaa6 complete list from 68f0694ac0 2014-09-09 01:24:17 +02:00
78b2b0d28e tweak button text y-alignment 2014-09-09 00:43:32 +02:00
ff5b658bc2 fix TAV text-entry size.
for now: no round corners, gtk-entry + its frame
packing messes things up
2014-09-09 00:05:14 +02:00
68f0694ac0 remove arbitrary button sizing for edit mode buttons 2014-09-08 15:02:33 -05:00
80e6d3b534 fix typo in b9f075143 2014-09-08 20:59:17 +02:00
1f313ec19c Vertically align Midi Notes, Piano Roll & Canvas Line Grid 2014-09-08 18:44:32 +02:00
a649fa8572 fix color of top-most MIDI note line on the canvas 2014-09-08 18:43:52 +02:00
b9f0751438 Move Scroomer out of Track Selection Box:
* no horiz space between Piano-Roll & Track
* 1:1 mapping of note's vertical space (no border)
2014-09-08 18:43:08 +02:00
6bb573d81c vertical pixel alignment of all TAV elements 2014-09-08 18:42:41 +02:00
de7ac1f29b yet another rec-button [no]blink fix 2014-09-07 21:03:25 +02:00
5462294629 remove debug message 2014-09-07 20:42:50 +02:00
27631e7c7f fix (auto-expand) typo in f23f379b3 2014-09-07 20:33:11 +02:00
4167e83972 NOOP, re-indent, remove trailing whitespace, sort includes 2014-09-07 20:23:50 +02:00
f23f379b37 don't loose a redraw.
This more or less obsoletes the DisplaySuspender.
While RAII is nice, the DisplaySuspender cannot be
used from outside gtk2_ardour eg Mute/Solo signals
notifications from libardour (which don't originate
from the GUI).

The DisplaySuspender is still useful, because it
explicitly disables re-display and forces a single
expose at the end.
2014-09-07 20:23:50 +02:00
1bb6fd752c special case track-header buttons 2014-09-07 20:23:49 +02:00
cb07f0f99b yet another button tweak.. 2014-09-07 20:23:49 +02:00
5dab88c3fa prepare support for [color] style name postfix 2014-09-07 20:23:49 +02:00
75df0a9c78 no horiz canvas scroll over track-header automation fader 2014-09-07 20:23:49 +02:00
c450fd3861 tweak vertical size/position and layering of recording rect 2014-09-07 12:00:06 -04:00
4880019218 correct the variable used to name the file when loading the default UI config file 2014-09-07 11:53:52 -04:00
177c0e0940 tweak initial x-axis location of a recording rect (from grygorii zharun @ waves) 2014-09-07 11:34:24 -04:00
cd1bddd01a rename input/source file for default UI configuration 2014-09-07 10:48:09 -04:00
e202bf866a fix names of included files 2014-09-07 10:47:39 -04:00
bb0733e5b3 Ensure complete sync with previous UI configuration files
(since some changes here were cherry-picked from the waves codebase)
2014-09-07 10:27:23 -04:00
dcf4d7b38a change all GUI config files (GTK RC and our own XML config files) to use product-neutral names
Conflicts:

	gtk2_ardour/ui_config.cc
	gtk2_ardour/ui_default.conf.in
	gtk2_ardour/wscript
2014-09-07 10:25:46 -04:00
d9aeb8084d fix [git] version header file creation for old python 2014-09-06 22:20:14 +02:00
78f0007d54 safe EditorRoutes::redisplay() 2014-09-06 22:01:39 +02:00
6745aa6e52 backwards compat with old gtk 2014-09-06 21:20:06 +02:00
eb8ae5053f minimize rebuild after reconfigure:
Don't add VERSIONSTRING to the c-flags of
gtk2_ardour, use a dedicated file instead.
2014-09-06 21:18:08 +02:00
4a1b6b2e78 fix another blinking-rec btn issue (amend 0ae8dd4) 2014-09-06 13:23:59 +02:00
bcd2e8d5e6 idle update editor TreeView
dramatic speedup for solo & route toggle.
2014-09-06 13:10:47 +02:00
95a7356018 NOOP, cleanup whitespace 2014-09-06 12:52:41 +02:00
3a75fab244 speed up session load (display updates) 2014-09-06 12:52:29 +02:00
8bc872614e optimize ArdourButton 2014-09-06 12:50:18 +02:00
4912409a8d gtk style related fixes:
* remove some old/unused styles
* fix plugin-ui button (hover color when active)
* consistent style for route buttons
  (and related ArdourButton updates)
2014-09-06 12:49:57 +02:00
089184c016 fix mixer strip track number display (amend 4a00bdf0) 2014-09-06 12:48:47 +02:00
aa769c9096 fix ArdourButton initialization 2014-09-06 12:48:21 +02:00
ae1200716f fix track-header vertical scrolling
Ignore vertical scroll events on horizontal
Automation Track Sliders. see also 70be12afaa
2014-09-06 12:46:28 +02:00
028346d412 Revert "use a gloabl size group for track-header ctrl buttons"
This reverts commit 86eb72955c.
2014-09-06 03:36:01 +02:00
dfecb06946 optimize button expose/resize 2014-09-06 03:22:31 +02:00
a07dc44b4d remove pixel based Button LED diameter setting
Diameter is calculated depending on font-scaling.
Besides, all explicit calls simply set the default
value, anyway. If some API is needed in the future,
it should set the diameter in [em].
2014-09-06 02:08:59 +02:00
6f30c1fddb optimize button pattern cache
We really should statically cache patterns
as done in PixFader and Meters (Cairo's cache is
not nearly large enough)
2014-09-06 02:04:59 +02:00
fb473475c3 remove cruft 2014-09-06 00:42:10 +02:00
0596508f96 fix lock button font size
(ArdourButton no longer supports font size via markup)
2014-09-06 00:42:05 +02:00
4a00bdf04a fundamentally change ArdourButton PangoLayout handling
This fixes issues where button text was set during static
initialization where the widget style was not yet available,
and a lot of related issues where the text was set
before style.
2014-09-06 00:41:56 +02:00
8fc6205e4e set proper name (font) for number labels 2014-09-05 23:44:39 +02:00
dcb495676f never change button element name.
changing the name overrides font style.
2014-09-05 23:44:30 +02:00
42ef3cab32 no more button text position rounding
For all non-grouped buttons, size request takes
care of assigning a proper geometry.
2014-09-05 23:43:09 +02:00
50d3afd965 further button size polish 2014-09-05 17:40:34 +02:00
b7faa05882 fix alert box: identical layout as transport option buttons 2014-09-05 17:30:34 +02:00
5fda9d55a4 increase fixed button sizes on meterbridge 2014-09-05 17:27:59 +02:00
35d8f18990 hard stop blinking rec-arm 2014-09-05 17:26:21 +02:00
6af935a3b8 updated .po files 2014-09-04 22:24:41 -04:00
0ae8dd4bdb connect "blink-rec-arm" only when needed.
This also fixes rec-arm button display when Mixer strip
is showing an aux-send instead of the current route.

It's still only a half-baked solution. If "blink-rec-arm" is
to stay a lot of details related to this will need addressing.
2014-09-05 04:20:15 +02:00
ada9f10687 fix 849d80b - don't show solo Lock/Iso on master bus 2014-09-05 03:10:59 +02:00
70be12afaa gain-meter: use new PixFader API 2014-09-05 02:38:24 +02:00
4c12a01b62 re-order TAV widget packing:
allow to resize automation tracks on the indent handle, too
2014-09-05 00:13:53 +02:00
f08b67da8c fix typo 2014-09-04 23:26:14 +02:00
86eb72955c use a gloabl size group for track-header ctrl buttons 2014-09-04 23:21:05 +02:00
50753b77f4 transport option buttons should expand to fill space. 2014-09-04 23:16:48 +02:00
4030fe2b66 and some more button px tweaks 2014-09-04 23:16:18 +02:00
2651bc7e10 NOOP, fix indent 2014-09-04 21:12:50 +02:00
4dbfbb6edb fix c4be8c2a67 2014-09-04 21:03:07 +02:00
7b3914c730 "Aux" is a small button now, 2nd line is not visible 2014-09-04 20:11:45 +02:00
86ffa35f84 separate button text-height -> button-height factor, bump to 1.3[em] 2014-09-04 20:11:45 +02:00