13
0
Commit Graph

942 Commits

Author SHA1 Message Date
56ba08b7cb implement scroll-wheel support for ClickBoxes 2015-07-13 15:33:15 +02:00
466af2a80b don’t compile tracks specific sources for ardour. 2015-07-02 15:32:29 +02:00
fe5852fc1d MSVC doesn't like us calling 'sqrt()' with integers (it doesn't have a version which takes an int)
So let's specify which version we'd like it to use.
2015-07-02 08:23:38 +01:00
51dd5b525b Add some newly introduced sources to our MSVC project (gtkmm2ext) 2015-07-02 08:23:37 +01:00
ea4ffbb674 prevent stuck & vanishing tooltips
the window needs to be moved in place before presenting it.
Otherwise it is displayed at mouse-pos and moving it triggers enter/leave,
which in turn re-start the timeout..
2015-06-30 13:08:22 +02:00
efa170b6bc stop PersistentTooltip flicker.
timeout is used for a *one-time* delayed display of the tooltip.
2015-06-30 13:05:42 +02:00
1adc5d5cf4 Revert "fix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus are not affected"
This reverts commit dddf76abf5.

it is relevant for Ardour/OSX, see 58fec98a and da43652
2015-06-30 08:11:06 +02:00
0274aafdb0 store all error/info/etc messages in a list inside Gtkmm2ext::UI, and provide a method to dump them all to a std::ostream 2015-06-29 16:27:03 -04:00
ec16c454ef comment unused but potentially usable variables 2015-06-29 14:18:15 -04:00
0e72e8446a update waves' fader implementation, clean up whitespace, indentation, variable initialization and remove unused members 2015-06-29 14:18:15 -04:00
d4bd394b4b Revert "remove unused variables". They are used on OS X.
This reverts commit 0fba19e9e6e6c519c89ce63149581b8f24b38c8c.
2015-06-29 14:18:15 -04:00
8c4b899352 remove unused variables 2015-06-29 14:18:15 -04:00
e6b4c9f610 fix whitespace/indentation and compiler warnings 2015-06-29 14:18:15 -04:00
dddf76abf5 fix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus are not affected 2015-06-29 14:18:15 -04:00
Nikolay
55658c3aae [Summary] Mac OS specific bug fix: Increased priority of the top menu bar events
[Details] g_idle_add () which was used for this purpose used G_PRIORITY_DEFAULT_IDLE>=200 which was too low for correct main menu requests processing, like showing Mixer or Big Clock Window.

The priority was increased to G_PRIORITY_HIGH_IDLE = 100.
According to GTK manual (https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS)
GTK+ uses G_PRIORITY_HIGH_IDLE + 10 = 110 for resizing operations, and G_PRIORITY_HIGH_IDLE + 20 = 120 for redrawing operations.

I assume that during record or playback on tracks there are too many redraw request which didn't give any chance for main menu request to be processed in time with old priority value.

This change must be considered as a hot fix so far.
The issue might be deeper. Will be investigated with Paul.

[Feature reviewed] AMishyn
[Reviewed by] PDavis, GZharun
2015-06-29 14:18:15 -04:00
c66ea2c170 add new Gtkmm2ext::pixel_size() to conveniently get width&height for a given font + string 2015-06-29 14:18:14 -04:00
96078650c9 API to set tooltip y-margin
Conflicts:
	libs/gtkmm2ext/gtkmm2ext/persistent_tooltip.h
	libs/gtkmm2ext/persistent_tooltip.cc
2015-06-29 14:18:13 -04:00
7fae6bcd87 copy all XCode project files from Tracks.
Rationale: the Waves team maintains the XCode project files, the Ardour crew doesn't. Thus, the Waves'
version is more canonical
2015-06-29 14:18:10 -04:00
b385d02022 merge two small pieces of code by Valeriy into libs/gtkmm2ext, conditionally used ONLY in Tracks builds.
This code is not acceptable for use in Ardour ... comments in code explain more.
2015-06-29 14:18:10 -04:00
8c41a412c1 fix up waves_fastmeter.cc code to work with current fastmeter API 2015-06-29 14:18:10 -04:00
e1bd9401d5 add clean and nice check for Tracks builds 2015-06-29 14:18:10 -04:00
8a9dc2c2d5 conditionally use correct fast meter implementation 2015-06-29 14:18:10 -04:00
d4c28adc6f add Waves Tracks version of fastmeter 2015-06-29 14:18:10 -04:00
Nikolay
f3719922c8 [Summary] Changed class PersistentTooltip. Now it can be used for 'non-draggable' tooltips.
[Feature reviewed] MKosharnyy
[Reviewed] VKamyshniy

Manually clean up merge mess, indentation, logic weakness, initializer order, etc.

Conflicts:
	libs/gtkmm2ext/gtkmm2ext/persistent_tooltip.h
	libs/gtkmm2ext/persistent_tooltip.cc
2015-06-29 14:18:09 -04:00
2363fb71e3 hand-merge libs/gtkmm2ext part of f49d31a82 from Tracks; provides a way to disable/re-enable OS X main menu 2015-06-29 14:16:43 -04:00
Nikolay
7e097c5efc [Summary] Bug fix #44332 "Please fit the Pan values monitor to channel borders"
[Feature reviewed] AMishyn
[Reviewed] VKamyshniy

Fixed up by Paul Davis to fix logic mistakes and unnecessary complexity,
and indentation.

Conflicts:
	libs/gtkmm2ext/persistent_tooltip.cc
2015-06-29 14:16:43 -04:00
YPozdnyakov
4465fb62f3 [Summary]: add keybindings Cmd-h (hide application) for mac
Conflicts:
	gtk2_ardour/ardour_ui.cc
	gtk2_ardour/ardour_ui.h
	gtk2_ardour/ardour_ui_ed.cc
2015-06-29 14:16:43 -04:00
YPozdnyakov
57dd0ef2f6 [Summary]: fix declaration of Cocoa NSApplicationDelegate methods [Reviewed by] Paul Davis
Conflicts:
	libs/gtkmm2ext/gtkapplication_quartz.mm
2015-06-29 14:16:43 -04:00
d541fda2be current version of valeriy's fader object requires access to libardour API (to be changed) 2015-06-29 14:16:43 -04:00
b9a09bc920 add fader implementation from Tracks 2015-06-29 14:16:43 -04:00
nick_m
57ce447fd1 Fix some workflow problems wrt automation.
- clearing automation points sets control to "off" rather than touch.
	- multiple touches on the same pass acts consistently (no more
	  fader jumps on mouse button press
	- use actual value for initial point rather than some arbitrary
	  default. clarify new semantics of add () (with_default->with_initial).
	- clean some whitespace
	- add guard points as needed in stop.
	- catch grab broken signal (i can't trigger it, but the docs seem
	  to think it is essential).
2015-06-17 09:54:22 +10:00
cc543280d9 We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG mechanism away from a 64bit integer and toward std::bitset.
Clean up a few minor related PBD::DEBUG issues along the way
2015-06-12 18:14:09 -04:00
nick_m
b3a4c88e0e Make absolute snap the default snap.
- also fixes a couple of absolute snap bugs wrt midi notes.
2015-06-11 01:36:34 +10:00
801af5df9e Add the new (UINTSDEFINED) preprocessor directive to all out MSVC projects (just to be on the safe side) 2015-06-09 13:18:42 +01:00
e0fcd18ec6 fix duplicate inc/decrement in AutoSpin? 2015-06-02 01:01:23 +02:00
4dd5b184c8 NOOP, fix whitespace 2015-06-02 01:01:23 +02:00
86f56de656 fix the cairo-fletcher-fluctuation
CF reports occasional “rendering icon 1 at size 1 x 1” 
always followed by “rendering icon 1 at size 21 x 21”. 
 
Probably a GTK bug with some specific version of GTK.
2015-05-31 19:40:04 +02:00
f9abce03a9 Add some newly introduced sources to our MSVC project (gtkmm2ext) 2015-05-27 10:21:21 +01:00
78ba915fc1 Gtkmm2ext::ArdourIcon::render() is needed outside of libgtkmm2ext (so let's make it exportable) 2015-05-27 10:11:34 +01:00
d3df99e22e more pixel rounding (small range icon) 2015-05-26 19:25:47 +02:00
45313f329f icon pixel compatibility
Ensure that relevant lines always end up on a pixel
(regardless of scaling).
2015-05-26 02:45:35 +02:00
e991688e1f refactor vector icon drawing 2015-05-26 00:52:06 +02:00
d2e4054a65 a go at a pixel-compatible vector “hand” icon.
..and some related ArdourIcon changes.
2015-05-25 04:42:58 +02:00
77220a745c prepare Tool Icons (unused IDs) 2015-05-25 03:28:17 +02:00
d80d34f8dc vectorize TAV expand and shrink icons 2015-05-25 00:25:28 +02:00
ab6a035076 construct vectorized Zoom Icons 2015-05-24 23:09:13 +02:00
1515ea69ec introduce some lazyness 2015-05-24 23:06:49 +02:00
1be75b7bfe NOOP, amend 3173246 comments and whitespace 2015-05-24 21:54:21 +02:00
31732462c7 migrate ArdourButton Icon rendering to Gtkmm2ext.
part one: add new API
2015-05-24 21:44:27 +02:00
nick_m
e8a0b1c514 Swap default snap modifiers (non-OSX) to avoid potential upgrade pain.
- Disable snap now defaults to alt
	- Snap absolute now defaults to alt-windows
2015-05-24 05:50:31 +10:00
nick_m
119c644dc0 Document snap_delta modifier mask. 2015-05-23 23:41:26 +10:00
nick_m
5d176eefa6 Make the prefs less squashed looking, add another entry for OSX modifiers.
- Defaults are probably still wrong, but at least they are actual
	keys.
2015-05-21 23:47:32 +10:00
nick_m
186736043c Move ui-centric modifiers into ArdourKeyboard, set some bad defaults.
- Also makes "Mod4" Appear as "Windows" and adds new combination
	"Alt-Windows" to the dropdown.
	- Attempt to set a pair of default snap modifiers (without
	knowing what it actually is for OSX)
	- Copy modifier now saves
	- Snap modifier modifier problem still remains.
2015-05-21 05:32:23 +10:00
nick_m
ae0759ae88 Allow all drag -related modifiers to be set, re-instate "jump after trim"
- Copy modifier still doesn't save
	- Testers please edit the Extra section of ~/.ardourN/config to allow
	defaults to "take"
	- Note that the current defaults overlap.
	- warning - absolute snap modifier has no default and will be always
	"on" unless you set it!
2015-05-21 01:30:57 +10:00
nick_m
66221d1dea Add more modifier preferences.
Note that no defaults are set - go to prefs->user interaction to
	ensure that nothing is set to "no modifer"

	also - the copy modifier doesn't actually save its state yet.
2015-05-20 04:00:04 +10:00
nick_m
0d8a331bca Remove some debugging. 2015-05-19 03:29:22 +10:00
nick_m
aac167a19f "Lock" mode is now "Constrained", make snap absolute modifier configurable.
- user can abs/rel modifier key in prefs->user interaction
	  suggested for linux - absolute->alt ignore snap->alt-shift
	- Constrained mode works the same as button 2 drag (initial move
	  sets constraint axis).
2015-05-18 06:25:36 +10:00
198c4d1d88 gfx-card & performance testing 2015-05-02 04:54:59 +02:00
fd76f87ae1 Revert API to explicitly show tooltips:
gdk pointer grab offers a better solution.
2015-04-25 05:37:37 +02:00
d40ad1f6ff fixup stuck persistent tooltips. 2015-04-25 03:00:57 +02:00
7565ebd4ed API to set tooltip y-margin 2015-04-25 01:16:39 +02:00
a33cc51176 tweak persistent tooltip:
* don’t show empty tooltips
* “smaller” widgets may receive a leave event before the timeout
can show the tooltip (knobs in particula)
2015-04-25 01:02:53 +02:00
nick_m
35f69656e8 Window focus handling fixes.
Many windows were not getting key events.
Use magic focus infrastructure (built for widgets) to deliver key events
via window focus in/out.
2015-04-02 02:41:49 +11:00
36140d4d01 updated i18n files from ./waf i18n 2015-03-31 20:16:25 -04:00
e03882eec7 Update Russian translation 2015-03-30 09:19:00 -05:00
Edgar Aichinger
2d0adea86e update German Translation #6213 2015-03-30 09:18:59 -05:00
Raphaël Doursenaud
6bfeb54168 Merge French translations 2015-03-28 23:35:11 +01:00
Frédéric Rech
71a32919a0 French translation update 2015-03-28 21:05:43 +01:00
Raphaël Doursenaud
e5422f3617 First pass updating french translation 2015-03-28 21:04:16 +01:00
4c2ea510e3 add API to query Gtk::ComboBoxText entries
..the overly complex C++ style variant.
iterate twice..  hell yeah.
2015-03-16 14:38:21 +01:00
83babb8a52 automatic error log window popup be gone. 2015-03-14 18:28:36 +01:00
nick_m
03160ee182 Tearoff windows are utility windows rather than toolbars. 2015-03-10 03:58:00 +11:00
7152634104 set name of GUI event loop thread 2015-02-05 16:31:59 -05:00
de85bfd857 fix #6117 - fader prelight 2015-01-28 02:22:52 +01:00
cab01bac6c on OS X, do not require click to activate the application 2015-01-26 11:55:58 -05:00
bd3643a597 fix declaration of Cocoa NSApplicationDelegate methods 2015-01-25 12:52:26 -05:00
4166b05bda Fix setting command key bindings on OSX. 2015-01-14 20:31:38 -05:00
0367aa5825 remove cruft (old unused pre-git version files) 2015-01-09 06:11:57 +01:00
246a4f3018 correct install location for .mo files (i18n) and cleanup LOCALEDIR use a bit 2014-12-09 08:19:11 -05:00
587dc283ea Fix stuck faders on very fine adjustments.
I attempted to preserve the "don't draw unless different" by ditching rounding for more
precise display_span, but that didn't work.  An alternative solution would be
to draw on adjustment change if there's text, since then we need to redraw
regardless of slider position, but it seemed weird even just with respect to
the slider, so I opted for this, which really definitely redraws when the
adjustment changes, period.

If this proves to be a performance issue we'll have to figure that out.
2014-12-05 15:19:43 -05:00
0c7dd82239 exclude fader-reserve from range 2014-12-01 17:45:27 +01:00
272c93db12 CLA approved consistent fine-grained scale modifier 2014-11-30 21:27:31 +01:00
18efe8f446 consistent step+page sizes for fader+spinbox 2014-11-30 15:05:40 +01:00
c77f4b7a18 don't move faders on click.
for one, it can mess up the value when switching to
numeric-entry. It is also rather useless and not
Fader-like (faders are not scrollbars).
Besides, "stepvalue" is way to large and causes jumps
(sometimes step-value is even negative, see
"fast lookahead limiter", "release time"
 -> some other bug)
2014-11-29 17:31:41 +01:00
16947f751b Remove dead code. 2014-11-27 04:17:15 -05:00
ea5876b836 Remove dead code. 2014-11-25 02:11:44 -05:00
976a150e6b Remove obviously dead/redundant code. 2014-11-18 02:55:03 -05:00
6b3a8915f3 add abort() to non-reached code
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
bb4e3a2916 add Gtkmm2ext::event_inside_widget_window() 2014-11-02 08:57:47 -05:00
b6d8805961 properly initialize variable (amend cffd18d2d8) 2014-11-02 02:50:28 +01:00
cffd18d2d8 implement spin-button internal<>interface bridge
Widgets were written to use "[User] Interface" values, but the
spinbutton in a Bar-controller should allow to directly access
the "Internal Value".
2014-11-01 18:24:31 +01:00
049c11de58 Slider Controller API Change
Prepare to allow BarController (with Spinbutton) to translate
internal/interface values for the SpinBox.

(The change is irrelevant for the fader/slider itself which
always use the [user-]interface value)
2014-11-01 18:22:29 +01:00
002ebcc4ea increase fine grained control (Ctrl+Alt+[drag|scroll]) 2014-11-01 07:27:35 +01:00
973d40e3ac Add support for USE_CAIRO_IMAGE_SURFACE when building with MSVC
(new preprocessor directive - greatly improves CPU loading)
2014-10-29 17:36:30 +00:00
dc39448a22 turn pixfader into a cairowidget 2014-10-28 02:18:46 +01:00
b04414d170 allow to use cairo-image/software surface for canvas & cairowidgets 2014-10-28 02:15:10 +01:00
e02efddb21 skip meter re-draw when no pixels are changed. 2014-10-25 17:28:14 +02:00
9239a49a32 Add some newly introduced source files to our MSVC project (gtkmm2ext) 2014-10-24 18:45:53 +01:00
2bc3ec6ab3 add new Gtk2mmext::EmScale class for measuring font-based sizing 2014-10-23 13:21:04 -04:00
ceff2e3a62 plugin widgets were written to use Internal values, so use that for now 2014-09-18 17:25:11 -05:00
9be64f2648 add a focus handling callback so that all button press events on CairoWidgets will cause a focus reset. 2014-09-16 12:42:39 -04:00
e5a20e1f9e Add 2 new source files to our 'gtkmm2ext' project (MSVC) 2014-09-13 09:56:58 +01:00
e3d063004b add required visibility macros to Gtkmm2ext::CursorInfo 2014-09-12 14:33:36 -04: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
7449de6e8f fix/improve/test hotspot file parsing 2014-09-10 19:39:52 -04:00
13cd2110e6 add copyright header comments 2014-09-10 18:50:58 -04:00
90059a9504 move CursorInfo members into public access 2014-09-10 18:38:30 -04:00
c4f7aae7d5 add new (mostly) static class to permit lookup of cursor image hotspots 2014-09-10 16:50:10 -04:00
e60f03c54c fix scoomer scroll-wheel max value 2014-09-09 14:35:06 +02:00
1c6c3514ba don't start track-resize on scroomer click 2014-09-08 18:43:28 +02:00
d68275cefc one less annoying compiler warning. 2014-09-06 21:18:08 +02:00
d63a4edfbf pass-though PixFader tweaks API for scroll events 2014-09-06 12:46:03 +02:00
6af935a3b8 updated .po files 2014-09-04 22:24:41 -04:00
48a851011b 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)
2014-09-05 02:24:19 +02:00
f2c0b2e318 revert pixfader to sane state (reverts parts of bb70d426) 2014-09-03 20:48:20 +02:00
bb70d426ba bring back old pixfader outline radius to demonstrate its issues 2014-09-03 15:35:11 +02:00
73357c1923 revert pixfader radius to default 2014-09-03 15:09:54 +02:00
f684cc24ec allow to set gtk style for BarController's pixfader. 2014-09-03 02:40:27 +02:00
1cd366b606 pixfader bg has reverse gradient from fg 2014-09-02 15:58:55 -05:00
9ecdb765aa don't show 'unity-line' (default value) for barcontrollers 2014-09-02 16:05:54 +02:00
3b9b65879a Barcontroller: no double expose when text chages 2014-09-02 16:05:21 +02:00
ecf5d5f137 tweak pixfader:
* update reserve so that round corners don't overlap
* draw complete 1px outline
* add API to hide/show the unity line
* don't show unity line at either end
* allow to shrink when the font-scaling changes
2014-09-02 16:00:24 +02:00
efb03f4596 unify BarController with Slider/Pixfader. 2014-09-02 05:14:19 +02:00
41ccf6a806 clean up pixfader API, prepare for merge w/BarController 2014-09-02 05:14:14 +02:00
3bfe91c010 remove cruft from SliderController 2014-09-02 05:14:06 +02:00
9f0caacc5c rework pixfader:
* re-introduce static pattern cache
  (cairo's cache is not nearly large enough for A3 + plugins)
* only use cairo_clip on rectangles (not arbitrary paths
  -> major performance boost
* re-add fader pixel reserve
* fix mouse + scroll interaction
* fix unity line display (1px wider, brighten by 150%)
* cache text size
* fix various other issues and consistent whitespace

This reverts large parts of commit d439e93b1e.
2014-09-01 22:02:51 +02:00
885f1c71ec Remove unused variables (fix warnings). 2014-08-31 17:54:16 -04:00
154621978a track-header fader tweaks:
* align height to button-height.
* align width to label text-entry
* increase min width
2014-08-31 21:32:22 +02:00
50c3177a5e remove frame from barcontroller 2014-08-31 19:36:41 +02:00
ca97569c55 disconnect pixfader style-change signal in dtor (amend 5a688b672) 2014-08-30 20:58:03 +02:00
5a688b672c pixfader: use parent's background color 2014-08-30 04:19:42 +02:00
f5533213c0 fix some compiler warnings 2014-08-30 02:26:36 +02:00
585fa45b62 fix cairo widget background 2014-08-30 01:43:10 +02:00
40c3e4122c try a different method of text display on automation bars 2014-08-29 16:35:20 -05:00
b0477f7f1e fix plugin bypass button action 2014-08-28 15:29:18 -05:00
3f297f7dab Fix ArdourButton event sequence.
Always give ArdourButton a chance to handle Press or Release events if you override them.
This allows ArdourButtons to do the "Pressed" animation
And it now correctly eats the event so button clicks don't select the channelstrip.
2014-08-28 10:31:57 -05:00
65715dd298 Make sure all our VC projects agree that the product is called 'Mixbus3' (as opposed to just 'Mixbus')
It'd be nice if we could use 'ARDOUR::config_dir_name' for this purpose (or perhaps 'PROGRAM_VERSION'). However, neither is implemented widely enough at present to make this practical. Keep an eye on them though, as possible future strategies.
2014-08-28 07:57:20 +01:00
d439e93b1e Standardize drawing of PixFader and BarController; implement flat_buttons and prelight.
Prepare for using Controllable interfaces, instead of passing in Adjustments.
ToDo:  reimplement image caching in a standardized way across widgets
2014-08-27 11:58:09 -05:00
e7a15027e8 refactor flat_buttons into cairowidget, and add a canvas-like convenience function for setting cairo color with a Gtk::Color 2014-08-27 10:55:01 -05:00
a7226133a9 refactor _grabbed into cairo_widget 2014-08-22 11:49:59 -05:00
45afed5e9a Modify our VC project files to work with msvc32-fixup.pl 2014-08-04 09:02:17 +01:00
b75b88a1eb Use text to specify combo box padding for better font/display tolerance.
Consistent mixer strip button height.

The latter works by setting all the button size request heights to the
calculated height of the alphabet.  Thus, all buttons of the same class will be
the same height regardless of their actual text.
2014-07-30 18:30:42 -04:00
df2a8fccc7 disallow selection of the fader and meter processor entries 2014-07-28 10:08:26 -05:00
67788b7136 monitor knobs tweaked to better match the theme of other buttons 2014-07-15 14:58:43 -05:00
928881b24a Update vcproj files for changed LILV config define. 2014-07-15 15:50:12 -04:00
8859ebe56e add Gtkmm2ext::Keyboard::reset_bindings() 2014-07-10 11:04:04 -04:00
b9c53ea395 add std::string variant of set_size_request_to_display_given_string() 2014-07-09 16:48:36 -04:00
08b1a9d520 add ActionManager::enable_accelerators(), which takes all known Actions and registers them via the UIManager as accelerators.
This makes them available for use with key bindings/shortcuts/accelerators even if they have no proxy widget
2014-07-04 07:48:41 -04:00
f147846863 add ability to save current action sensitivities and restore them, and to disable all action sensitivity.
This is needed to be able to lock the application fully on OS X, where the global menu bar would still allow interaction
even when a modal dialog is displayed.
2014-06-24 09:56:16 -04:00
cb6934a189 Remove unused header includes 2014-06-17 21:30:51 +10:00
36be1a3a9b plug some leaks 2014-06-15 13:24:41 +02:00
dada765e7a Include stdint.h for int64_t type 2014-06-07 13:49:12 +10:00
55009368c5 allow public access to CairoWidget::render() 2014-06-05 12:04:41 -04:00
4347ceb173 fix for OSX 10.0/clang (missing symbol) by cth 2014-05-23 20:49:21 +02:00
030a8f189d yet another gettimeofday() removal (glibmm idle) 2014-05-16 18:34:59 +02:00
f075981330 Bug fix imported from Mixbus2 (SVN r11025)
Fix a crashing bug when trying to launch in a non-English locale (possibly only affects Windows)
2014-05-10 08:35:27 +01:00
1b989a93c2 remove redundant os.path.join() calls when specifying install path as bld.env['LIBDIR'] 2014-04-28 21:18:02 -04:00
058986f77b finish unfinished work at basing all install paths on the program name 2014-04-28 21:11:08 -04:00
unknown
6cc2812f2e interim vst fixes 2014-04-11 14:23:29 -05:00
077a194430 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')
2014-04-08 09:49:35 +01:00
abab819bb3 Avoid some ambiguous calls to 'floor()' which were upsetting MSVC 2014-03-21 18:24:36 +00:00
9d7efe7865 tweak meter-peak hold when using LED-striped meters 2014-03-21 14:15:38 +01:00
ab44e41dfd change the meters into CairoWidget, add expose_area to CairoWidget::render() 2014-03-20 23:50:40 +01:00
3e4278a0fb g_close() is only available in select versions of glib; fix up non-standard use of glib/cerr to report errors and other related mess 2014-03-17 10:16:45 -04:00
96244e2afa Close a temporary file as soon as we know we've created it (the function which needs the file will re-open it itself) 2014-03-15 14:42:20 +00:00
f05fe6a3fb removed duplicated (and dangerous) call to close(2) 2014-03-14 15:16:15 -04:00
2fc52ec5fd paths dialog: use selection as default when adding new dirs 2014-03-08 18:28:16 +01:00
e4e6010cd4 add on_name_changed() virtual method to CairoWidget
If a CairoWidget does not a GtkRC-defined style, then changing its name does not trigger on_style_changed(). Since we want to use CairoWidget::set_name()
to trigger changes in the rendering of a widget, this is ... bad. Adding on_name_changed() provides a workaround for that.
2014-03-06 09:44:33 -05:00
76fb7278dd paths-dialog gtkmm-2.20 compatibility (part two) 2014-03-02 22:51:04 +01:00
f303c9ebb2 paths-dialog gtkmm-2.20 compatibility 2014-03-02 22:38:29 +01:00
e6c3cece64 remove recently added conflation of mingw64 and msvc with respect to symbol export 2014-03-02 14:59:08 -05:00
c626e83a64 ardour now requires export visibility macros for all added classes 2014-03-01 16:17:33 -05:00
19395ac258 when mingw is mingw64, it appears that we need to use __declspec() and not __attribute__((visibility)) for export control 2014-03-01 15:16:39 -05:00
597db6421a re-work VST paths configuration.
environment vars provide the "default", but are no longer
relevant once ardour-internal paths are configured.
2014-03-01 01:01:42 +01:00
a5d7bf0f24 path-dialogue: check for and disallow duplicates 2014-02-28 17:48:21 +01:00
3cf5dcb64c move Paths Dialog to libgtkmm2ext 2014-02-28 00:05:47 +01:00
f8ed1bbcf4 i18n updates (specifically .de from edgar a, but also contains results of ./waf i18n 2014-02-10 12:19:43 -05:00
25a6296f86 Merge branch 'windows+cc' into cairocanvas 2014-01-20 18:18:21 +00:00
b5e9e7c04c 'libs/gtkmm2ext' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date) 2014-01-20 17:01:58 +00:00
5451b5fb13 remove unused static member from MouseButton 2014-01-20 11:33:28 -05:00
016a9cc533 add Gtkmm2ext::event_type_string() 2014-01-16 10:14:42 -05:00
5062a00c7d move -fvisibility=hidden to the top of the source tree, and remove its internal use; use libtimecode as a shared lib again 2014-01-12 15:40:47 -05:00
658bb3ccd4 finished merge of cairocanvas with windows and windows+cc branches 2014-01-10 17:11:10 -05:00
3020b224fa Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there 2014-01-10 16:07:57 -05:00
d15fda6d75 fix merge errors with master 2014-01-10 14:53:03 -05:00
04ad07babf add [missing] left_half_rectangle util 2014-01-09 20:48:04 +01:00
36c233fe6c Merge branch 'master' into cairocanvas 2014-01-07 21:37:48 -05:00
7eca991971 fix fader default-value line position 2014-01-05 13:09:08 +01:00
d89573f8e7 update slider rendering & set style for faders
* render background -- outside of rounded corners
* visually align unity-location with fader at 0.
* sharp lines (no more AA blur) x/y offset, radius
2014-01-05 13:07:31 +01:00
e8e4e677aa processor drag box only 2014-01-04 05:43:20 +01:00
52d6cbc1e9 fix PixFader size allocation
previously faders in the processor box were only sized correctly
after the 2nd iteration: allocate -> request -> allocate
2014-01-04 05:42:31 +01:00
10c8b48235 tweak design of time axis view item name text handling 2014-01-02 14:29:07 -05:00
b0e4f81eb3 merge exportvis branch into cairocanvas, to reduce the number of "floating" branches.
Still need to add API export/visibility macros for the canvas library.
2013-12-27 14:29:06 -05:00
3a885d6177 Only use __declspec(dllimport/dllexport) for MSVC compiler
Use the gcc visibility attributes when building with the MinGW compiler(gcc).
GCC also supports the __declspec syntax but it will not compile at the moment
until the issues(which may not even be exactly the same issues as with MSVC)
are resolved.
2013-12-05 21:11:18 +10:00
8648a8a13b fix up wscript/build issues in exportvis after merge with master 2013-12-03 11:51:25 -05:00
08371ae2cf resolve merge with master (?) 2013-11-26 10:24:51 -05:00
fa22520fd2 Merge branch 'master' into cairocanvas 2013-11-25 09:26:35 -05:00
3ce39cc410 update .po files with --no-fuzzy-matching in use 2013-11-05 11:15:46 -05:00
ea1ccb869a fix merge with master 2013-10-31 13:16:51 -04:00
4316eda89f remove fuzzy and obsolete translations 2013-10-23 20:01:23 +02:00
f85c67501c reverse the visibility.h files assumptions that we don't build shared libs by default
This avoids having to define define LIBFOO_DLL=1 all over the place. If we ever go with static libs we will
need to define LIBFOO_STATIC=1 but hopefully in some central location like the top level wscript.

Oh, and I also dropped support for gcc older than version 4.x because ardour will already not build
on such an old version.
2013-10-18 11:50:44 -04:00
b855e5f322 Merge remote-tracking branch 'remotes/origin/exportvis' into windows+cc
Conflicts (hopefully resolved):
	gtk2_ardour/wscript
	libs/ardour/ardour/audioregion.h
	libs/ardour/ardour/debug.h
	libs/ardour/ardour/directory_names.h
	libs/ardour/ardour/filesystem_paths.h
	libs/ardour/ardour/session_event.h
	libs/gtkmm2ext/gtkmm2ext/utils.h
	libs/panners/1in2out/wscript
	libs/panners/2in2out/wscript
	libs/panners/vbap/wscript
	libs/pbd/pbd/debug.h
	libs/pbd/pbd/file_utils.h
	libs/pbd/pbd/pathexpand.h
	libs/pbd/pbd/ringbuffer.h
	libs/pbd/pbd/ringbufferNPT.h
	libs/pbd/pbd/search_path.h
	libs/pbd/pbd/stacktrace.h
	libs/pbd/pbd/uuid.h
	libs/pbd/pbd/uuid_boost.h
	libs/surfaces/control_protocol/control_protocol/basic_ui.h
	libs/surfaces/control_protocol/control_protocol/control_protocol.h
2013-10-18 10:03:22 +01:00
2fab8182cc add -fvisibility=hidden to libgtkmm2ext, and make things work 2013-10-17 14:36:41 -04:00
f3d2ca0d9a get everything compiling with libardour built using -fvisibility=hidden 2013-10-17 12:41:28 -04:00
08fbc53d52 add new visibility macro headers omitted from previous commits 2013-10-17 12:41:11 -04:00
15471ca7dd add export control to libgtkmm2ext 2013-10-17 11:26:01 -04:00
e5888d3983 merge with master and fix 2 conflicts 2013-10-16 22:06:56 -04:00
fb313fb174 Merge branch 'master' into windows 2013-10-16 21:57:17 -04:00
75b933eadb Merge remote-tracking branch 'remotes/origin/master' into windows+cc 2013-10-16 15:55:59 +01:00
56fa4d9045 update russian translation (again) 2013-10-15 14:03:59 -04:00
fa71d82dda Merge branch 'windows' into windows+cc 2013-10-11 18:23:53 +01:00
2a6a16f980 merge with master, fixing conflicts in 3 wscript files 2013-10-09 14:00:42 -04:00
5265ceec51 change tortured GtkUI startup process into something just a little more sane, and remove "stopping" code since that belongs in a destructor 2013-10-07 20:27:04 -04:00
19bb2b33a8 Merge remote-tracking branch 'remotes/origin/cairocanvas' into windows
Conflicts (hopefully resolved):
	gtk2_ardour/marker.cc
	gtk2_ardour/midi_region_view.h
	gtk2_ardour/region_gain_line.h
	gtk2_ardour/utils.cc
	gtk2_ardour/video_image_frame.cc
	gtk2_ardour/wscript
	libs/backends/jack/wscript
2013-09-21 09:17:25 +01:00
e5c426ed41 Merge branch 'windows' of git.ardour.org:ardour/ardour into windows 2013-09-18 10:16:40 +01:00
6b1261ed30 'libs/gtkmm2ext/idle_adjustment.cc' - Add a missing header file 2013-09-18 10:02:20 +01:00
5e0e41e068 Merge branch 'master' into cairocanvas 2013-09-16 22:11:50 -04:00
fb45fdc052 fix conflicts and merge with master 2013-09-16 22:11:06 -04:00
710ee36eaa a few DEBUG_TRACE improvements 2013-09-16 22:02:36 -04:00
7a30e63eaa fix merge conflicts with master 2013-09-14 16:42:40 -04:00
2f3c62c5da 'libs/gtkmm2ext' - Minor modification to prevent MSVC from complaining about a malformed comment 2013-09-04 15:46:14 +01:00
e99a85ac92 'libs/gtkmm2ext' - Add the file 'gtkapplication_win32.c' to complement gtkapplication_x11 and gtkapplication_quartz 2013-09-04 15:43:35 +01:00
d074bc586e Merge branch 'master' into audioengine 2013-09-03 17:41:49 -04:00
0013feddbf Merge branch 'master' into windows 2013-09-03 08:34:27 -04:00
66292718a1 improve scroll and drag behaviour of volume-controller knob 2013-09-01 03:19:13 +02:00
dd0a1cd846 fix keyboard interaction with volume knobs (monitor section) 2013-08-31 20:37:02 +02:00
9482702bdc 'libs/gtkmm2ext' - Compiler specific includes 2013-08-26 17:47:28 +01:00
316b72eb0e 'libs/gtkmm2ext' - Main body of changes required for building with MSVC (mostly #includes and casting) 2013-08-26 17:45:18 +01:00
c1a25550d1 'libs/gtkmm2ext' - Use 'std::vector' instead of dynamically sized arrays (required to be buildable with MSVC) 2013-08-26 17:28:03 +01:00
9a877a54e8 'libs/gtkmm2ext' - Remove "using namespace Gdk;" to avoid confusion (in 'fastmeter.cc') over whether we want namespace ::Cairo or namespace Gdk::Cairo 2013-08-26 15:43:20 +01:00
ee1b49f87e fix merge conflicts from master 2013-08-24 12:18:06 -04:00
1421a34e52 pot/po file updates caused by waf i18n 2013-08-24 11:46:45 -04:00
7fe7e7ad4b update czech translations from pavel fric 2013-08-15 14:55:10 -04:00
2de09888b6 some const_cast<> additions for OS X where gcc believes that volatile int* means const int* 2013-08-14 12:40:49 -04:00
6b02d50d5e clean up some valgrid "Uninitialised value was created by a heap allocation" wanings 2013-08-08 15:26:18 -04:00
69c6ef1aa1 initialize some uninitialized values 2013-08-08 15:26:18 -04:00
b6b614acac minimize meter-peak re-draw area 2013-08-08 15:26:18 -04:00
82e1d9655f use 3px for peak-hold in LED mode -> display 2 bright lines 2013-08-08 15:26:16 -04:00
3098e5963c tweak meter-LED style 2013-08-08 15:26:01 -04:00
11c49ab8d1 cache shaded meter-background regardless of color
previously, shaded patterns were assumed to have different colors as well.
2013-08-08 15:26:01 -04:00
2bdd29d3ac fix meter background redraw issue #5601 2013-08-08 15:26:01 -04:00
12c9055659 [re]implement horizontal meter 2013-08-08 15:26:01 -04:00
ba8742edd1 align gradient with meter-metrics 2013-08-08 15:25:40 -04:00
d10b712897 increase saturation of meter-shader 2013-08-08 15:24:49 -04:00
bc66985710 allow to en/disable shade and LED meter style 2013-08-08 15:24:49 -04:00
1da655c2eb Fix special handling of 'zoom vertical' scroll wheel modifier key.
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of
the modifier key used to adjust track heights in conjunction with the
scroll wheel, so that the same track continues to be resized even when
it's shrunk to no longer be under the mouse cursor. However, this code
assumed that the modifier key for this was <Shift>.

Fix it to use the event->state bit corresponding to
ScrollZoomVerticalModifier instead, and rename the relevant functions to
clarify that it's the 'zoom vertical' modifier key they're dealing with.

Partially fixes #5610.
2013-08-08 15:24:15 -04:00
dbe31bcf22 add a stripe-pattern to the meters 2013-08-08 15:23:10 -04:00
a4edd1ed7a possible fix for http://tracker.ardour.org/view.php?id=5586 2013-08-08 15:23:10 -04:00
e3978edabb add option to disable cairo-RGBA overlays for meters. 2013-08-08 15:23:09 -04:00
a0ac0dca85 implement visual-sensitivity (gray out) for faders
Note: bar-controller sensitivity state is not yet set if
automation-mode changes to/from play, but the widget now
supports that.
2013-08-08 15:23:08 -04:00