Commit graph

7299 commits

Author SHA1 Message Date
Paul Davis
c4f7aae7d5 add new (mostly) static class to permit lookup of cursor image hotspots 2014-09-10 16:50:10 -04:00
Robin Gareus
6f59288f9e print "Scanning folders for bundled LV2s" only once. 2014-09-10 20:44:17 +02:00
Robin Gareus
f6766d4a2f delete route-groups before flushing routes. 2014-09-10 20:43:30 +02:00
Robin Gareus
2498495523 disable Midi Audition Synth if it cannot be found
no repetitive messages.
2014-09-10 16:55:49 +02:00
Robin Gareus
d383205fe7 better safe than sorry. 2014-09-10 13:11:22 +02:00
Robin Gareus
b26ecdda63 fix d421602c24 2014-09-10 12:49:21 +02:00
Robin Gareus
d421602c24 delete session XML object after loading and setting state. 2014-09-10 05:18:09 +02:00
Robin Gareus
cab09d87b8 free LV2 world after initial scan 2014-09-10 03:31:03 +02:00
Robin Gareus
a361781e08 plug a major mem hog.
(default empty session is now ~140MB RSS, was 280MB)
libXML memory was only free() at exit
2014-09-09 23:53:27 +02:00
Robin Gareus
e60f03c54c fix scoomer scroll-wheel max value 2014-09-09 14:35:06 +02:00
John Emmas
2967226317 Add 'libs/pbd/pbd/pthread_utils.h' to our pbd project (msvc) 2014-09-09 12:06:47 +01:00
John Emmas
16b25a3028 Implement the new pthread macros (for the Waves audio backend) 2014-09-09 12:05:14 +01:00
John Emmas
61e0705a94 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)
2014-09-09 12:03:52 +01:00
John Emmas
83b6825bd0 Revert "Add a couple of pthread helper macros"
This reverts commit 8d0ec2403f.
2014-09-09 08:26:26 +01:00
Robin Gareus
1c6c3514ba don't start track-resize on scroomer click 2014-09-08 18:43:28 +02:00
Robin Gareus
b1da9af8de 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,
2014-09-08 01:25:56 +02:00
Robin Gareus
dc318e6e74 ALSA|Dummy Backend: do as jack does:
when the backend is closed, unregister all ports.
2014-09-07 22:50:57 +02:00
Robin Gareus
330f5fdf2e fix midi audition port-connect warning 2014-09-07 22:21:12 +02:00
Paul Davis
a780e70f2a add Session::record_location() 2014-09-07 11:33:47 -04:00
Paul Davis
9ad3feaba0 rename system and user config files with product-neutral names 2014-09-07 10:20:29 -04:00
Paul Davis
94adde7ebb add Canvas::Ruler::set_metric() to allow ruler metrics to be changed dynamically 2014-09-07 10:19:42 -04:00
Paul Davis
1a6136e1e3 change Metric element of a Canvas::Ruler item into a pointer internally 2014-09-07 10:19:31 -04:00
Robin Gareus
d68275cefc one less annoying compiler warning. 2014-09-06 21:18:08 +02:00
Paul Davis
404a77adb8 get installdir for libardouralsautil correct 2014-09-06 14:42:25 -04:00
Paul Davis
a686374b9d check for _port_handle == null throughout Port:: methods 2014-09-06 12:36:57 -04:00
Robin Gareus
d63a4edfbf pass-though PixFader tweaks API for scroll events 2014-09-06 12:46:03 +02:00
Paul Davis
6af935a3b8 updated .po files 2014-09-04 22:24:41 -04:00
Robin Gareus
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
Paul Davis
6408d90258 fix waf thinko in backends wscript 2014-09-03 18:44:34 -04:00
Robin Gareus
f2c0b2e318 revert pixfader to sane state (reverts parts of bb70d426) 2014-09-03 20:48:20 +02:00
Robin Gareus
bb70d426ba bring back old pixfader outline radius to demonstrate its issues 2014-09-03 15:35:11 +02:00
Robin Gareus
73357c1923 revert pixfader radius to default 2014-09-03 15:09:54 +02:00
Robin Gareus
07a651d2ec release shared route pointer kept by InternalSend when dropping refs.
fixes "SessionHandleRef exists across session deletion"
when using AuxSends
2014-09-03 05:20:28 +02:00
Robin Gareus
f684cc24ec allow to set gtk style for BarController's pixfader. 2014-09-03 02:40:27 +02:00
Ben Loftis
1cd366b606 pixfader bg has reverse gradient from fg 2014-09-02 15:58:55 -05:00
Robin Gareus
9ecdb765aa don't show 'unity-line' (default value) for barcontrollers 2014-09-02 16:05:54 +02:00
Robin Gareus
3b9b65879a Barcontroller: no double expose when text chages 2014-09-02 16:05:21 +02:00
Robin Gareus
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
Robin Gareus
efb03f4596 unify BarController with Slider/Pixfader. 2014-09-02 05:14:19 +02:00
Robin Gareus
41ccf6a806 clean up pixfader API, prepare for merge w/BarController 2014-09-02 05:14:14 +02:00
Robin Gareus
3bfe91c010 remove cruft from SliderController 2014-09-02 05:14:06 +02:00
Robin Gareus
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
Robin Gareus
158037bba2 Match canvas outline to rectangle
It looks like we're currently [consistently] off by 1px
everywhere. The width-1 is compensated by
TimeAxisViewItem::RIGHT_EDGE_SHIFT = 1
2014-09-01 18:05:09 +02:00
David Robillard
34c1465cf9 Fix crash when changing automation mode for MIDI track control automation.
Also some work towards tolerating automation controls with no automation list,
towards actually doing something for these cases, though not required just to
fix this crash (MidiTrack::set_parameter_automation_state() avoids those
paths).
2014-08-31 18:57:22 -04:00
David Robillard
885f1c71ec Remove unused variables (fix warnings). 2014-08-31 17:54:16 -04:00
David Robillard
c95c221493 Fix mismatched initialisation order. 2014-08-31 17:54:16 -04:00
Robin Gareus
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
Robin Gareus
758c988e51 shadow-less Frame: explicitly draw background colored border. 2014-08-31 20:07:17 +02:00
Robin Gareus
50c3177a5e remove frame from barcontroller 2014-08-31 19:36:41 +02:00
Robin Gareus
db34d9a556 proper round corners on focused TextEntry
IFF [xy]thickness is set > 2 for given Entry.

It seems gtk draws a base-color rectangle on
top, after clearlooks_draw_entry() is called.
This fills the complete area and voids previous
rounded rectangles in clearlooks_draw_entry().
setting [xy]thickness decreases the size of the
base rectangle.
2014-08-31 12:46:45 +02:00