summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_audio_import.cc
AgeCommit message (Collapse)Author
2008-11-13speed up track resizing; fixup file DnD; stop use CAAudioFile for imported filesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09make drop_paths() run in an idle handler on OS X to deal with the current ↵Paul Davis
DnD handling there. still need to fix drop_regions() to do the same git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09fix for handling DnD path data, plus lots of d-n-d drop debugging (to be ↵Paul Davis
cleaned up) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09no recursive main loop just to set import watch cursorPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-06wrap PBD::Thread... signals in a mutex to avoid crashing as multiple threads ↵Paul Davis
call it simultaneously; increase FUDGE distance for GTK/X11 when sizing comboboxselectors in editor git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19shift-click to extend marker selection; marker drag moves all selected markersPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-19reset editor's entered_track to null if that track is deleted; fix use of ↵Paul Davis
wrong constructor for MessageDialog in both IOSelector and import handling, which would lead to a glibmm exception caused by a null C string (old, common and very very bad) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-12some adjustments to the spacing in the import/interthread progress window, ↵Paul Davis
and preparation for more uniform HiG-style spacing everywhere; fix multiply-packed boxes in sfdb_ui.cc git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-24Fix dialog message to something sensible.Sampo Savolainen
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3171 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-27don't popup import progress window until we give import a chance to fail ↵Paul Davis
first; sndfile doesn't print open() errors if HAVE_COREAUDIO is set since we fall back to CoreAudio then git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-27fix up BWF creation; make CoreAudioSource work; add CAImportable; refactor ↵Paul Davis
SourceFactory to try sndfile first, CoreAudio second git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-26non-AA canvas support (not used by default); new SAE menus; fix ↵Paul Davis
locate-play-locate ; add toggle-punch ; use primary clock for verbose cursor mode at all the right times; minimize clock redrawing part one git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-15fix use of basename; AU automation now working; add gtk event reporter back ↵Paul Davis
into SAE bundle; fix up carbon menu handler so that it never causes a nested gtk main loop problem git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-15Make import GUI report if you are importing a file of a name that Sampo Savolainen
already exists in the session. Legwork to allow updating existing source files via the import dialog. Fix bug which caused the current import logic to select existing file name as target file when importing. This caused the newly imported file to be concatenated after the original data. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3059 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-04Back-port tim mayberry's fixes for import; fix JACK slaving to never pay ↵Paul Davis
attention to timecode-source-is-synced git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-12add arrow head to selected marker line; fix no-import-embed when selecting ↵Paul Davis
"use timestamp"; make split/align use edit point and other integrated editing changes git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09the edit cursor is dead, long live the edit point; plus a few fixes; plus ↵Paul Davis
location locking git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-07initial round of work to support new edit point option, and removal of edit ↵Paul Davis
cursor git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-27fix crash bug caused by incorrectly setting transience of audio clocks in ↵2.1Paul Davis
the SoundFileBox git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-272 patches from jdavisp3; remove some debugging output from generic MIDI; ↵Paul Davis
rationalize string usage in SoundFileOmega; allow "mode hint" when using SoundFileOmega; restore context menu import functionality; bump to v2.1 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-24fix crash during import when selected tracks include bussesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-24improvements (?) for window visibility during session loading - time to test ↵Paul Davis
on linux git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-12make big clock be on top ALWAYS; more design fixes for async peak building; ↵Paul Davis
fix up peakfile name screw up but WITHOUT back-compatibility git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-11add SRC quality to import dialog; fix instances of missing waveforms where ↵Paul Davis
new sources are created; add fader+meter to import dialog; metering now doesn't return -inf for ninputs == 0, only if ninputs & noutputs == 0 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-11try to fix async peaks issue; fix crasher caused by previous lock changes in ↵Paul Davis
AudioSource; unselect everything after Apply; save tags correctly (?) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09async generation of peakfiles for embedded filesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09fix egregious widespread bug now that JACK has physical MIDI ports; make ↵Paul Davis
sample rate label in import dialog red when SR doesn't match git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09more changes for the import dialog, with breakout of importable source code ↵Paul Davis
into its own files git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-07autoplay mode and other tweaks to the import dialog; fix resource management ↵Paul Davis
while auditioning git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2427 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04split SoundFileBrowser back into SoundFileOmega; make SoundFileChooser work ↵Paul Davis
again; fix bug in assigning click sounds git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2417 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04sort of make to-selected-tracks import/embed workPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2416 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04more improvements and fixes for the import dialogPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04make sfdb browser a member of session, to retain settingsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-03fix for NSD filename/folder extraction; import now works as well as embed ↵Paul Davis
does (and shares the codepath) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2365 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-02limited history depth (no GUI yet); more work on import dialog and semanticsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2361 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-30more upgrades to the import dialogPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-28first pass at thorwil's mockup of import dialog; remove some JACK error ↵Paul Davis
messages because they are distracting and duplicated by others git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-27fix crashing mouse-button+'s' operation (generically, not just for 's'); ↵Paul Davis
more import changes to support SAE goals re: embedding git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2351 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-26round one of import design changes (still not fully functional, but basic ↵Paul Davis
stuff works git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-16support DnD in native/gtk-quartz implementation (note: multifile DnD ↵Paul Davis
requires a patch to GTK that is not in distribution yet, so for now, this works only with 1 file at a time, or it requires my patch/library). git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-06new automation interval configuration variable, to control automation ↵Paul Davis
snapshot time resolution (for oofus to test); patch for cancellingmulti-file import; minor code cleanups; use boost::fast_pool_allocator for automation lists (may revert later) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06fix crashes when handling files with ":" in their paths. Cost: cannot load ↵Paul Davis
old sessions with non-mono embedded files anymore git-svn-id: svn://localhost/ardour2/trunk@1672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06fix nasty logic error that leads to crashing bugs when trying to operate on ↵Paul Davis
regions that have been subject to undo/redo git-svn-id: svn://localhost/ardour2/trunk@1670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-18fix rect redraw problem(s); make zoom range rect visible again at the right ↵Paul Davis
time; apply tim's window title patch git-svn-id: svn://localhost/ardour2/trunk@1617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-15edit groups tab gets headers (carl); use sampo's SSE find_peaks code; fix ↵Paul Davis
build for find_peaks on x86; don't duplicate sources when embedding; use Glib::ustring for all source-related strings; fixup plugin UI automation buttons git-svn-id: svn://localhost/ardour2/trunk@1595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-27fix #1497, related to lack of status.done setting when libsndfile craps out ↵Paul Davis
on us git-svn-id: svn://localhost/ardour2/trunk@1528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-22remove all lines to avoid recompiles after commitsPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-29small change to region creation for make-mono-regions; add untested ↵Paul Davis
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-25fix import/embed of multichannel audiofiles, as per #1433Paul Davis
git-svn-id: svn://localhost/ardour2/trunk@1386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-21use ustring more; handle embedding of "paired" files as per mantis #1362Paul Davis
git-svn-id: svn://localhost/ardour2/trunk@1241 d708f5d6-7413-0410-9779-e7cbd77b26cf