Robin Gareus
2397429e99
use quotes for in-tree pbd/glib wrapper include
2015-10-05 22:15:18 +02:00
Robin Gareus
dc36b063bf
remove unused fstream includes
2015-10-05 22:15:18 +02:00
Robin Gareus
97bd6db2b7
remove i/ofstream from libardour
...
except:
* audio-unit (ifstream is known to work on OSX)
* evoral curve algorithm debugger
* cycle-timer debug code
* export_handler's CDMarker -> TODO
2015-10-05 22:15:17 +02:00
Robin Gareus
c3b2cc46c5
remove unused API (and ifstream)
2015-10-05 22:15:17 +02:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
8384d98c92
there's no class called "The" :)
2015-10-01 21:39:15 +02:00
Ben Loftis
f3a1ac21cb
associate label more closely with VST path button. the plugin tab needs a complete layout rethink, someday
2015-09-17 16:07:40 -05:00
Robin Gareus
7ac691ec82
use pbd's gstdio compatibility wrapper
2015-09-17 14:37:57 +02:00
Robin Gareus
eb998b3264
plug some memory leaks in libs
2015-09-12 20:05:25 +02:00
Robin Gareus
fcbf359dd6
properly clean up meter-pattern cache
2015-09-07 13:35:48 +02:00
Robin Gareus
57321bef35
consistent pango-text layout size - fixes #6490
...
Use gdk_pango_layout() for all text-size calculations.
In Canvas::Text always use the same context (local image surface)
for layouting (prior to this, local and window-context mix resulted in
different sizes).
2015-09-06 16:39:08 +02:00
Robin Gareus
42f0142bb9
remove a float loop counter
2015-09-05 15:47:00 +02:00
Robin Gareus
9bc85a553c
add API to get combobox option count.
...
The data model needs to be checked to count available options.
Directly using ComboBoxText::children()::size() counts widgets.
2015-08-11 15:38:26 +02:00
Robin Gareus
7aeead630a
adjust click box size - fixes #6499
2015-08-05 19:53:33 +02:00
Ben Loftis
46c8369328
merge fix
2015-07-16 16:13:24 -05:00
Robin Gareus
782aa6aa47
add missing return value
2015-07-16 15:34:37 +02:00
Robin Gareus
56ba08b7cb
implement scroll-wheel support for ClickBoxes
2015-07-13 15:33:15 +02:00
Robin Gareus
466af2a80b
don’t compile tracks specific sources for ardour.
2015-07-02 15:32:29 +02:00
John Emmas
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
John Emmas
51dd5b525b
Add some newly introduced sources to our MSVC project (gtkmm2ext)
2015-07-02 08:23:37 +01:00
Robin Gareus
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
Robin Gareus
efa170b6bc
stop PersistentTooltip flicker.
...
timeout is used for a *one-time* delayed display of the tooltip.
2015-06-30 13:05:42 +02:00
Robin Gareus
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
Paul Davis
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
Paul Davis
ec16c454ef
comment unused but potentially usable variables
2015-06-29 14:18:15 -04:00
Paul Davis
0e72e8446a
update waves' fader implementation, clean up whitespace, indentation, variable initialization and remove unused members
2015-06-29 14:18:15 -04:00
Paul Davis
d4bd394b4b
Revert "remove unused variables". They are used on OS X.
...
This reverts commit 0fba19e9e6e6c519c89ce63149581b8f24b38c8c.
2015-06-29 14:18:15 -04:00
Paul Davis
8c4b899352
remove unused variables
2015-06-29 14:18:15 -04:00
Paul Davis
e6b4c9f610
fix whitespace/indentation and compiler warnings
2015-06-29 14:18:15 -04:00
Paul Davis
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
Paul Davis
c66ea2c170
add new Gtkmm2ext::pixel_size() to conveniently get width&height for a given font + string
2015-06-29 14:18:14 -04:00
Robin Gareus
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
Paul Davis
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
Paul Davis
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
Paul Davis
8c41a412c1
fix up waves_fastmeter.cc code to work with current fastmeter API
2015-06-29 14:18:10 -04:00
Paul Davis
e1bd9401d5
add clean and nice check for Tracks builds
2015-06-29 14:18:10 -04:00
Paul Davis
8a9dc2c2d5
conditionally use correct fast meter implementation
2015-06-29 14:18:10 -04:00
Paul Davis
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
Paul Davis
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
Paul Davis
d541fda2be
current version of valeriy's fader object requires access to libardour API (to be changed)
2015-06-29 14:16:43 -04:00
Paul Davis
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
Paul Davis
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