Commit graph

85 commits

Author SHA1 Message Date
Paul Davis
8001cba985 (OS X only) if key focus is not in a text entry or a "magic" widget, convert key press events that generated math chars and so forth (generally <alt>-<key>) back to their non-math equivalent before processing. this permits bindings to work as expected. i note that GTK/OSX does not appear to allow insertion of the accented chars into text entries anyway
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-17 17:25:04 +00:00
Paul Davis
d475fd0fca minor tweaks to gtkapplication quartz code and turn off keyboard event debugging
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6503 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-16 00:04:12 +00:00
Paul Davis
15bb3b577e rework "ige_mac" menubar integration from Carbon to Cocoa; recast as start of GtkApplication object as per discussions on #gtk+; associated changes in ardour; NOT TESTED ON X11, LEOPARD or SNOW LEOPARD
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15 01:59:56 +00:00
Paul Davis
b76635a8fd fix key handling in region layering dialog; shortcut for pixel_width() called on an empty string
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12 20:03:58 +00:00
Paul Davis
12d5a44afa make tearoff windows still forward key events (and thus bindings still work); make big clock window into a utility window, not a menu (!)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5562 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-21 13:48:31 +00:00
Nick Mainsbridge
8e39e7c4f1 Fix dumb mistake in pixbufs-as-name code (probably fixes 64 bit problem reported by Jussi).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5330 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-05 14:44:01 +00:00
Nick Mainsbridge
39c5c2bf6b Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-03 16:17:54 +00:00
Nick Mainsbridge
2641231cb2 Fix memory leak in name text pixbuf generation, move RegionView::_height to TimeAxisViewItem, clean up name_highlight vs name_text code (removes assumpton that one implied the other), fix mouse offset when track resizing past the smallest size, reinstate zooming to 1 frame per pixel.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-02 17:45:18 +00:00
Nick Mainsbridge
337fae8183 Fix record crash, use pixfufs instead of canvas text in markers, use leftmost_frame instead of querying canvas coords when scrolling (speeds up canvas scrolling somewhat).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-19 14:38:37 +00:00
Paul Davis
45b4721be3 speed up track resizing; fixup file DnD; stop use CAAudioFile for imported files
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-13 10:00:09 +00:00
Paul Davis
1127dcdb9a fix up key focus handling for plugin windows
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4031 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-29 22:27:29 +00:00
Paul Davis
e7cebfb6c5 start handling plugin window keyboard focus (in-progress)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4021 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-28 00:24:56 +00:00
Nick Mainsbridge
7f927ca0eb Unbreak linux build (sorry about that folks).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-26 11:30:48 +00:00
Nick Mainsbridge
11d77d6203 Add gyk-osx.patch to repo, remove #ifdefs made obsolete by the patch.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-26 08:27:30 +00:00
Nick Mainsbridge
a868e7b260 Use events from gtk trunk, update immediately on scroll for osx as well.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-20 18:22:24 +00:00
Paul Davis
4a42a635e5 debug output for pixbuf loaders; catch exception when loading AU plugins; miscellaneous character removal
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-22 18:53:48 +00:00
Doug McLain
1563a30b03 done debugging, remove the debug output, and cleanup the catchphrase in create_from_file
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3612 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-15 08:46:00 +00:00
Doug McLain
9ea93a27ac handle FileError exception in create_from_file, and more debug...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-15 07:45:09 +00:00
Doug McLain
56efbf54b4 more debug...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-15 07:01:39 +00:00
Paul Davis
a29b3b862a small changes to export code to hopefully fix some bugs with range export(s)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-03 12:22:21 +00:00
Paul Davis
f844b2c2ab allow keybindings manager to bind arrow keys, using hack from utils.cc that was already in place
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3328 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-08 14:11:20 +00:00
Doug McLain
2f18e339cd Fixes for canvas and gain meter text not being scaled on startup
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-24 19:13:09 +00:00
Paul Davis
1bfbd98807 fix typo that breaks non-GTKOSX compilation
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3008 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-04 22:48:13 +00:00
Paul Davis
0170a7666a provide instructional hint for keyeditor; fix keybinding issues on OS X (needs current GTK patch); fix up packaging up OSX native to include VAMP plugins and put control surfaces in (mostly) the right places ; new (improved) arrow key bindings
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-04 22:37:57 +00:00
Paul Davis
bd3b9d763b large chunks of code to deal with pre-analysis of audio; transient/perconset data used for new tab-to-transient; all ArdourDialogs push the splash screen out of the way; try to keep verbose canvas cursor within the editor canvas visible area; fix template use from NSD
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-01 04:26:22 +00:00
Paul Davis
df1da084ed permit OSX native package without JACK; prevent excessive track name lengths from messing up JACK port names; splash screen tweaks for OS X; new region gain control operations ; work on AU plugin GUIs (totally incomplete); don't needlessly create prompters in a barcontroller (create on demand)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-18 19:58:34 +00:00
Paul Davis
146e5baec2 fix up nudge for marker motion; make keyboard handling do the right thing when numlock is pressed and an un-modified key press event occurs
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-21 16:00:32 +00:00
Doug McLain
7c0ff18a62 add exception handling to Gdk::Pixbuf::create_from_file ()
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-05 08:26:41 +00:00
Paul Davis
577f1571f8 don't put NDF/DF in clocks if there is no DF/NDF alternative; make deselect-all and invert-selection operations work properly; fix bug in edit range determination with no selected marker; popup dialog when no range can be determined; add new WINDOW modifier to SConscript to allow different conventions on OS X and linux
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-30 22:12:27 +00:00
Paul Davis
a80aaeba79 mouse zoom focus; mouse scrubbing becomes mouse shuttling; use nframes64_t more; add mouse_frame() method to get mouse position & whether its in one of the two canvases; add color_from_style() utility function (though its not used)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-05 21:35:47 +00:00
Paul Davis
17ebbb9d3f changes related to OS X main menu & accelerators, plus osx_build script
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-05 00:33:23 +00:00
Paul Davis
3e70b96597 remove static Pango::FontDescriptions, they cause glib errors because of initialization before Glib::thread_init() has been called
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-03 20:56:33 +00:00
Paul Davis
7dc87973ee fix audio clock handling of key press; fix crash bug caused by mapping over a region list selection that includes rows without regions
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@1912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-23 00:02:51 +00:00
Paul Davis
8ed825c3dd fix nasty logic error that leads to crashing bugs when trying to operate on regions that have been subject to undo/redo
git-svn-id: svn://localhost/ardour2/trunk@1670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06 02:27:24 +00:00
Paul Davis
4b35fc4c68 audun's tempo redraw fix; sort-of cache time axis view item name widths and avoid pango-width-computation when unnecessary
git-svn-id: svn://localhost/ardour2/trunk@1657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-03 02:05:34 +00:00
Paul Davis
574c5ed8b0 get real Pango::FontDescriptions for several canvas items
git-svn-id: svn://localhost/ardour2/trunk@1557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-05 23:12:47 +00:00
Paul Davis
07bf584673 fixes to handle broken libart_lgpl 2.3.18+ headers
git-svn-id: svn://localhost/ardour2/trunk@1539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-01 18:28:04 +00:00
Paul Davis
d6ef740e90 remove all lines to avoid recompiles after commits
git-svn-id: svn://localhost/ardour2/trunk@1488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-22 18:36:03 +00:00
Paul Davis
d405df54ec the buttons will submit to my rule! prelight-when-active, be gonecd /usr/local/music/src/ardour
git-svn-id: svn://localhost/ardour2/trunk@1451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-13 14:25:17 +00:00
Paul Davis
29c378eecc make zoom rect extend to cover all tracks, no matter when added
git-svn-id: svn://localhost/ardour2/trunk@1422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-03 22:08:23 +00:00
Paul Davis
df1c4dddc3 remove ardour_message.{cc,h}; JACK latency menu now shows correct settings at startup and changes are handled correctly; export range markers doesn't start with /path/to/export.wav, just /path/to; hopefully improve ruler scrolling a little; fixed up short_path() implementation ; fix for export unsetting JACK freewheel too soon ; use ISO 8061 timestamps for snapshot default names
git-svn-id: svn://localhost/ardour2/trunk@1400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-31 18:51:33 +00:00
Paul Davis
9e8082aad6 small change to region creation for make-mono-regions; add untested short_path(); fix double-redraws when canvas zoom/position changes
git-svn-id: svn://localhost/ardour2/trunk@1396 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-29 20:02:43 +00:00
Paul Davis
0d6c5f78e9 fix for crash when loading a session after running another, caused by not checking for _view != 0 in route_time_axis.cc; make fit_to_pixels() more useful and use it to truncate redirect and redirect parameters names in track control area
git-svn-id: svn://localhost/ardour2/trunk@1212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-14 16:21:43 +00:00
Paul Davis
3039691723 make follow-playhead available again; remove special pane handling
git-svn-id: svn://localhost/ardour2/trunk@1197 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-08 19:47:07 +00:00
Paul Davis
e002eea388 frame for fader belt; better focus behaviour for gain display text entry (generalized)
git-svn-id: svn://localhost/ardour2/trunk@1171 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-30 04:21:32 +00:00
Paul Davis
e8a2bf9b49 fix egregious programming sloppiness in strip_whitespace_edges
git-svn-id: svn://localhost/ardour2/trunk@1121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-13 03:11:32 +00:00
Paul Davis
0c4c6e031a first pass on track mode switch; fixes to dangling region refs after capture; destroy region menu item removed; small fix to SConstruct for missing C++ case; playlist selection mechanism modified ; new Selection operation added (Add); handle crashing situation with align style change handling caused by recursion
git-svn-id: svn://localhost/ardour2/trunk@1099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-09 20:38:39 +00:00
Paul Davis
f95d814143 fix audio clock field widths, change minsec display to include fractional seconds, add and use thorwil's new icons
git-svn-id: svn://localhost/ardour2/trunk@971 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-10 17:46:22 +00:00
Paul Davis
0b6139304b actually connect Editor to config state change system
git-svn-id: svn://localhost/ardour2/trunk@937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-01 13:06:43 +00:00
Paul Davis
09ee5d9967 many important changes to configuration system and specific parameters
git-svn-id: svn://localhost/ardour2/trunk@935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-29 21:39:39 +00:00