ardour.git
9 years agofix d421602c24
Robin Gareus [Wed, 10 Sep 2014 10:49:21 +0000 (12:49 +0200)]
fix d421602c24

9 years agodelete session XML object after loading and setting state.
Robin Gareus [Wed, 10 Sep 2014 03:18:09 +0000 (05:18 +0200)]
delete session XML object after loading and setting state.

9 years agofree LV2 world after initial scan
Robin Gareus [Wed, 10 Sep 2014 01:31:03 +0000 (03:31 +0200)]
free LV2 world after initial scan

9 years agoplug a major mem hog.
Robin Gareus [Tue, 9 Sep 2014 21:53:27 +0000 (23:53 +0200)]
plug a major mem hog.

(default empty session is now ~140MB RSS, was 280MB)
libXML memory was only free() at exit

9 years agoNOOP, indent & whitespace fixes
Robin Gareus [Tue, 9 Sep 2014 12:40:22 +0000 (14:40 +0200)]
NOOP, indent & whitespace fixes

9 years agoclean up midi channel controls
Robin Gareus [Tue, 9 Sep 2014 12:39:36 +0000 (14:39 +0200)]
clean up midi channel controls

9 years agofix scoomer scroll-wheel max value
Robin Gareus [Tue, 9 Sep 2014 12:31:33 +0000 (14:31 +0200)]
fix scoomer scroll-wheel max value

9 years agoAdd 'libs/pbd/pbd/pthread_utils.h' to our pbd project (msvc)
John Emmas [Tue, 9 Sep 2014 11:06:47 +0000 (12:06 +0100)]
Add 'libs/pbd/pbd/pthread_utils.h' to our pbd project (msvc)

9 years agoImplement the new pthread macros (for the Waves audio backend)
John Emmas [Tue, 9 Sep 2014 11:05:14 +0000 (12:05 +0100)]
Implement the new pthread macros (for the Waves audio backend)

9 years agoRe-introduce our pthread macros (after fixing an earlier typo)
John Emmas [Tue, 9 Sep 2014 11:03:52 +0000 (12:03 +0100)]
Re-introduce our pthread macros (after fixing an earlier typo)

these are so we can differentiate between 'libpthread' and 'libpthread-win32' (whose implementation is subtlely - though annoyingly! - different)

9 years agoRevert "Add a couple of pthread helper macros"
John Emmas [Tue, 9 Sep 2014 07:26:26 +0000 (08:26 +0100)]
Revert "Add a couple of pthread helper macros"

This reverts commit 8d0ec2403f3444e3a53d16b21f2f8557abd71b55.

9 years agohave another go at vertical text alignment
Robin Gareus [Tue, 9 Sep 2014 00:26:58 +0000 (02:26 +0200)]
have another go at vertical text alignment

9 years agoadd an easy way to debug button sizes
Robin Gareus [Mon, 8 Sep 2014 23:29:47 +0000 (01:29 +0200)]
add an easy way to debug button sizes

9 years agocomplete list from 68f0694ac0
Robin Gareus [Mon, 8 Sep 2014 23:24:17 +0000 (01:24 +0200)]
complete list from 68f0694ac0

9 years agotweak button text y-alignment
Robin Gareus [Mon, 8 Sep 2014 22:43:32 +0000 (00:43 +0200)]
tweak button text y-alignment

9 years agofix TAV text-entry size.
Robin Gareus [Mon, 8 Sep 2014 22:05:14 +0000 (00:05 +0200)]
fix TAV text-entry size.

for now: no round corners, gtk-entry + its frame
packing messes things up

9 years agoremove arbitrary button sizing for edit mode buttons
Ben Loftis [Mon, 8 Sep 2014 20:02:16 +0000 (15:02 -0500)]
remove arbitrary button sizing for edit mode buttons

9 years agofix typo in b9f075143
Robin Gareus [Mon, 8 Sep 2014 18:59:17 +0000 (20:59 +0200)]
fix typo in b9f075143

9 years agoVertically align Midi Notes, Piano Roll & Canvas Line Grid
Robin Gareus [Mon, 8 Sep 2014 16:44:32 +0000 (18:44 +0200)]
Vertically align Midi Notes, Piano Roll & Canvas Line Grid

9 years agofix color of top-most MIDI note line on the canvas
Robin Gareus [Mon, 8 Sep 2014 16:43:52 +0000 (18:43 +0200)]
fix color of top-most MIDI note line on the canvas

9 years agodon't start track-resize on scroomer click
Robin Gareus [Mon, 8 Sep 2014 16:43:28 +0000 (18:43 +0200)]
don't start track-resize on scroomer click

9 years agoMove Scroomer out of Track Selection Box:
Robin Gareus [Mon, 8 Sep 2014 16:43:08 +0000 (18:43 +0200)]
Move Scroomer out of Track Selection Box:

* no horiz space between Piano-Roll & Track
* 1:1 mapping of note's vertical space (no border)

9 years agovertical pixel alignment of all TAV elements
Robin Gareus [Mon, 8 Sep 2014 16:42:41 +0000 (18:42 +0200)]
vertical pixel alignment of all TAV elements

9 years agoALSA|Dummy: ignore port unregistration when engine is stopped
Robin Gareus [Sun, 7 Sep 2014 23:25:56 +0000 (01:25 +0200)]
ALSA|Dummy: ignore port unregistration when engine is stopped

When changing Engine parameters, ardour first stops
the engine and only later when re-etablishing ports
unregisters/re-registers them.

ALSA: silently ignore port unregs and silently accept registrations
Dummy: print a PBD::info message,

9 years agoALSA|Dummy Backend: do as jack does:
Robin Gareus [Sun, 7 Sep 2014 20:50:57 +0000 (22:50 +0200)]
ALSA|Dummy Backend: do as jack does:

when the backend is closed, unregister all ports.

9 years agofix midi audition port-connect warning
Robin Gareus [Sun, 7 Sep 2014 20:21:12 +0000 (22:21 +0200)]
fix midi audition port-connect warning

9 years agoyet another rec-button [no]blink fix
Robin Gareus [Sun, 7 Sep 2014 19:03:25 +0000 (21:03 +0200)]
yet another rec-button [no]blink fix

9 years agoremove debug message
Robin Gareus [Sun, 7 Sep 2014 18:42:50 +0000 (20:42 +0200)]
remove debug message

9 years agofix (auto-expand) typo in f23f379b3
Robin Gareus [Sun, 7 Sep 2014 18:33:11 +0000 (20:33 +0200)]
fix (auto-expand) typo in f23f379b3

9 years agoNOOP, re-indent, remove trailing whitespace, sort includes
Robin Gareus [Sun, 7 Sep 2014 18:11:28 +0000 (20:11 +0200)]
NOOP, re-indent, remove trailing whitespace, sort includes

9 years agodon't loose a redraw.
Robin Gareus [Sun, 7 Sep 2014 18:23:22 +0000 (20:23 +0200)]
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.

9 years agospecial case track-header buttons
Robin Gareus [Sun, 7 Sep 2014 16:50:57 +0000 (18:50 +0200)]
special case track-header buttons

9 years agoyet another button tweak..
Robin Gareus [Sun, 7 Sep 2014 16:50:34 +0000 (18:50 +0200)]
yet another button tweak..

9 years agoprepare support for [color] style name postfix
Robin Gareus [Sun, 7 Sep 2014 01:02:28 +0000 (03:02 +0200)]
prepare support for [color] style name postfix

9 years agono horiz canvas scroll over track-header automation fader
Robin Gareus [Sun, 7 Sep 2014 00:32:29 +0000 (02:32 +0200)]
no horiz canvas scroll over track-header automation fader

9 years agotweak vertical size/position and layering of recording rect
Paul Davis [Sun, 7 Sep 2014 16:00:06 +0000 (12:00 -0400)]
tweak vertical size/position and layering of recording rect

9 years agocorrect the variable used to name the file when loading the default UI config file
Paul Davis [Sun, 7 Sep 2014 15:53:52 +0000 (11:53 -0400)]
correct the variable used to name the file when loading the default UI config file

9 years agotweak initial x-axis location of a recording rect (from grygorii zharun @ waves)
Paul Davis [Sun, 7 Sep 2014 15:34:24 +0000 (11:34 -0400)]
tweak initial x-axis location of a recording rect (from grygorii zharun @ waves)

9 years agoadd Session::record_location()
Paul Davis [Sun, 7 Sep 2014 15:33:47 +0000 (11:33 -0400)]
add Session::record_location()

9 years agorename input/source file for default UI configuration
Paul Davis [Sun, 7 Sep 2014 14:48:09 +0000 (10:48 -0400)]
rename input/source file for default UI configuration

9 years agofix names of included files
Paul Davis [Sun, 7 Sep 2014 14:47:39 +0000 (10:47 -0400)]
fix names of included files

9 years agoEnsure complete sync with previous UI configuration files
Paul Davis [Sun, 7 Sep 2014 14:27:23 +0000 (10:27 -0400)]
Ensure complete sync with previous UI configuration files
(since some changes here were cherry-picked from the waves codebase)

9 years agochange all GUI config files (GTK RC and our own XML config files) to use product...
Paul Davis [Sun, 7 Sep 2014 14:25:46 +0000 (10:25 -0400)]
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

9 years agofix packaging scripts to use new system config file name; NOTE: this file should...
Paul Davis [Sun, 7 Sep 2014 14:23:03 +0000 (10:23 -0400)]
fix packaging scripts to use new system config file name; NOTE: this file should probably be included in Windows packages but appears not to be

Conflicts:

tools/linux_packaging/build

9 years agorename system and user config files with product-neutral names
Paul Davis [Thu, 4 Sep 2014 16:31:30 +0000 (12:31 -0400)]
rename system and user config files with product-neutral names

9 years agoadd Canvas::Ruler::set_metric() to allow ruler metrics to be changed dynamically
Paul Davis [Fri, 5 Sep 2014 18:45:27 +0000 (14:45 -0400)]
add Canvas::Ruler::set_metric() to allow ruler metrics to be changed dynamically

9 years agochange Metric element of a Canvas::Ruler item into a pointer internally
Paul Davis [Fri, 5 Sep 2014 18:42:06 +0000 (14:42 -0400)]
change Metric element of a Canvas::Ruler item into a pointer internally

9 years agofix [git] version header file creation for old python
Robin Gareus [Sat, 6 Sep 2014 20:19:52 +0000 (22:19 +0200)]
fix [git] version header file creation for old python

9 years agosafe EditorRoutes::redisplay()
Robin Gareus [Sat, 6 Sep 2014 20:00:42 +0000 (22:00 +0200)]
safe EditorRoutes::redisplay()

9 years agobackwards compat with old gtk
Robin Gareus [Sat, 6 Sep 2014 18:36:24 +0000 (20:36 +0200)]
backwards compat with old gtk

9 years agoone less annoying compiler warning.
Robin Gareus [Sat, 6 Sep 2014 16:02:05 +0000 (18:02 +0200)]
one less annoying compiler warning.

9 years agominimize rebuild after reconfigure:
Robin Gareus [Sat, 6 Sep 2014 15:59:53 +0000 (17:59 +0200)]
minimize rebuild after reconfigure:

Don't add VERSIONSTRING to the c-flags of
gtk2_ardour, use a dedicated file instead.

9 years agoget installdir for libardouralsautil correct
Paul Davis [Sat, 6 Sep 2014 18:42:25 +0000 (14:42 -0400)]
get installdir for libardouralsautil correct

9 years agocheck for _port_handle == null throughout Port:: methods
Paul Davis [Sat, 6 Sep 2014 16:36:57 +0000 (12:36 -0400)]
check for _port_handle == null throughout Port:: methods

9 years agofix another blinking-rec btn issue (amend 0ae8dd4)
Robin Gareus [Sat, 6 Sep 2014 11:23:59 +0000 (13:23 +0200)]
fix another blinking-rec btn issue (amend 0ae8dd4)

9 years agoidle update editor TreeView
Robin Gareus [Sat, 6 Sep 2014 11:10:47 +0000 (13:10 +0200)]
idle update editor TreeView

dramatic speedup for solo & route toggle.

9 years agoNOOP, cleanup whitespace
Robin Gareus [Sat, 6 Sep 2014 10:52:41 +0000 (12:52 +0200)]
NOOP, cleanup whitespace

9 years agospeed up session load (display updates)
Robin Gareus [Sat, 6 Sep 2014 10:52:29 +0000 (12:52 +0200)]
speed up session load (display updates)

9 years agooptimize ArdourButton
Robin Gareus [Sat, 6 Sep 2014 10:50:18 +0000 (12:50 +0200)]
optimize ArdourButton

9 years agogtk style related fixes:
Robin Gareus [Sat, 6 Sep 2014 10:49:57 +0000 (12:49 +0200)]
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)

9 years agofix mixer strip track number display (amend 4a00bdf0)
Robin Gareus [Sat, 6 Sep 2014 10:48:47 +0000 (12:48 +0200)]
fix mixer strip track number display (amend 4a00bdf0)

9 years agofix ArdourButton initialization
Robin Gareus [Sat, 6 Sep 2014 10:48:21 +0000 (12:48 +0200)]
fix ArdourButton initialization

9 years agofix track-header vertical scrolling
Robin Gareus [Sat, 6 Sep 2014 10:46:28 +0000 (12:46 +0200)]
fix track-header vertical scrolling

Ignore vertical scroll events on horizontal
Automation Track Sliders. see also 70be12afaa6

9 years agopass-though PixFader tweaks API for scroll events
Robin Gareus [Sat, 6 Sep 2014 10:46:03 +0000 (12:46 +0200)]
pass-though PixFader tweaks API for scroll events

9 years agoRevert "use a gloabl size group for track-header ctrl buttons"
Robin Gareus [Sat, 6 Sep 2014 01:36:01 +0000 (03:36 +0200)]
Revert "use a gloabl size group for track-header ctrl buttons"

This reverts commit 86eb72955c76575b75a2b9e535162ca7e0612bfd.

9 years agooptimize button expose/resize
Robin Gareus [Sat, 6 Sep 2014 01:21:52 +0000 (03:21 +0200)]
optimize button expose/resize

9 years agoremove pixel based Button LED diameter setting
Robin Gareus [Sat, 6 Sep 2014 00:08:59 +0000 (02:08 +0200)]
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].

9 years agooptimize button pattern cache
Robin Gareus [Sat, 6 Sep 2014 00:04:59 +0000 (02:04 +0200)]
optimize button pattern cache

We really should statically cache patterns
as done in PixFader and Meters (Cairo's cache is
not nearly large enough)

9 years agoremove cruft
Robin Gareus [Fri, 5 Sep 2014 21:41:00 +0000 (23:41 +0200)]
remove cruft

9 years agofix lock button font size
Robin Gareus [Fri, 5 Sep 2014 22:28:48 +0000 (00:28 +0200)]
fix lock button font size

(ArdourButton no longer supports font size via markup)

9 years agofundamentally change ArdourButton PangoLayout handling
Robin Gareus [Fri, 5 Sep 2014 22:41:56 +0000 (00:41 +0200)]
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.

9 years agoset proper name (font) for number labels
Robin Gareus [Fri, 5 Sep 2014 15:45:45 +0000 (17:45 +0200)]
set proper name (font) for number labels

9 years agonever change button element name.
Robin Gareus [Fri, 5 Sep 2014 21:44:30 +0000 (23:44 +0200)]
never change button element name.

changing the name overrides font style.

9 years agono more button text position rounding
Robin Gareus [Fri, 5 Sep 2014 21:43:09 +0000 (23:43 +0200)]
no more button text position rounding

For all non-grouped buttons, size request takes
care of assigning a proper geometry.

9 years agofurther button size polish
Robin Gareus [Fri, 5 Sep 2014 15:40:34 +0000 (17:40 +0200)]
further button size polish

9 years agofix alert box: identical layout as transport option buttons
Robin Gareus [Fri, 5 Sep 2014 15:30:34 +0000 (17:30 +0200)]
fix alert box: identical layout as transport option buttons

9 years agoincrease fixed button sizes on meterbridge
Robin Gareus [Fri, 5 Sep 2014 15:27:59 +0000 (17:27 +0200)]
increase fixed button sizes on meterbridge

9 years agohard stop blinking rec-arm
Robin Gareus [Fri, 5 Sep 2014 15:26:21 +0000 (17:26 +0200)]
hard stop blinking rec-arm

9 years agoremove requirement for JACK in OS X startup script now that we have the coreaudio...
Paul Davis [Fri, 5 Sep 2014 02:24:28 +0000 (22:24 -0400)]
remove requirement for JACK in OS X startup script now that we have the coreaudio backend from waves available

9 years agoupdated .po files
Paul Davis [Fri, 5 Sep 2014 01:38:00 +0000 (21:38 -0400)]
updated .po files

9 years agofix linux packaging to include all required style files
Paul Davis [Fri, 5 Sep 2014 01:37:11 +0000 (21:37 -0400)]
fix linux packaging to include all required style files

9 years agofix OS X packaging to include all required style files
Paul Davis [Fri, 5 Sep 2014 01:37:04 +0000 (21:37 -0400)]
fix OS X packaging to include all required style files

9 years agoconnect "blink-rec-arm" only when needed.
Robin Gareus [Fri, 5 Sep 2014 02:20:15 +0000 (04:20 +0200)]
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.

9 years agofix 849d80b - don't show solo Lock/Iso on master bus
Robin Gareus [Fri, 5 Sep 2014 01:10:59 +0000 (03:10 +0200)]
fix 849d80b - don't show solo Lock/Iso on master bus

9 years agogain-meter: use new PixFader API
Robin Gareus [Fri, 5 Sep 2014 00:38:24 +0000 (02:38 +0200)]
gain-meter: use new PixFader API

9 years agoadd pixfader tweaks API:
Robin Gareus [Fri, 5 Sep 2014 00:24:19 +0000 (02:24 +0200)]
add pixfader tweaks API:

* change API to hide unity/default value line
* allow to override vertical scroll [1]
* allow changing button event forwarding [2]

[1] override scrolling in track-headers
[2] dbl-click is needed for BarControllers -> switch to SpinBtn
    but a plain Slider on a track-header should not forward
    these events to the TAV (they may trigger name-edit)

9 years agore-order TAV widget packing:
Robin Gareus [Thu, 4 Sep 2014 22:13:53 +0000 (00:13 +0200)]
re-order TAV widget packing:

allow to resize automation tracks on the indent handle, too

9 years agofix typo
Robin Gareus [Thu, 4 Sep 2014 21:26:14 +0000 (23:26 +0200)]
fix typo

9 years agouse a gloabl size group for track-header ctrl buttons
Robin Gareus [Thu, 4 Sep 2014 21:21:05 +0000 (23:21 +0200)]
use a gloabl size group for track-header ctrl buttons

9 years agotransport option buttons should expand to fill space.
Robin Gareus [Thu, 4 Sep 2014 21:16:48 +0000 (23:16 +0200)]
transport option buttons should expand to fill space.

9 years agoand some more button px tweaks
Robin Gareus [Thu, 4 Sep 2014 21:16:18 +0000 (23:16 +0200)]
and some more button px tweaks

9 years agoNOOP, fix indent
Robin Gareus [Thu, 4 Sep 2014 19:12:50 +0000 (21:12 +0200)]
NOOP, fix indent

9 years agofix c4be8c2a67
Robin Gareus [Thu, 4 Sep 2014 19:03:07 +0000 (21:03 +0200)]
fix c4be8c2a67

9 years ago"Aux" is a small button now, 2nd line is not visible
Robin Gareus [Thu, 4 Sep 2014 17:44:40 +0000 (19:44 +0200)]
"Aux" is a small button now, 2nd line is not visible

9 years agoseparate button text-height -> button-height factor, bump to 1.3[em]
Robin Gareus [Thu, 4 Sep 2014 17:44:01 +0000 (19:44 +0200)]
separate button text-height -> button-height factor, bump to 1.3[em]

9 years agofurther tweaks pertaining the track-number height
Robin Gareus [Thu, 4 Sep 2014 17:43:04 +0000 (19:43 +0200)]
further tweaks pertaining the track-number height

9 years agowhen track selection changes, cancel any and all name editing
Paul Davis [Thu, 4 Sep 2014 17:56:29 +0000 (13:56 -0400)]
when track selection changes, cancel any and all name editing

9 years agoproperly centered text..
Robin Gareus [Thu, 4 Sep 2014 16:12:46 +0000 (18:12 +0200)]
properly centered text..

..at the risk of blurring some text with
some fonts when the text is shifted by 0.5px.

9 years agoTrick 17: share separator + border:
Robin Gareus [Thu, 4 Sep 2014 16:08:45 +0000 (18:08 +0200)]
Trick 17: share separator + border:

This effectively adds a line after the last track.

9 years agodedicated TAV separator line
Robin Gareus [Thu, 4 Sep 2014 15:01:28 +0000 (17:01 +0200)]
dedicated TAV separator line