summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.cc
AgeCommit message (Collapse)Author
2015-07-17reworked variant of john’s soundfile locale fixRobin Gareus
see 87b89a6 IMPORTANT NOTE: In theory, the correct glibmm function should have been Glib::filename_from_utf8() but I couldn't make that work on Windows and ended up using Glib::locale_from_utf8() instead. sfdb import will therefore need to get re-tested on the other platforms (especially in a non-English locale). If this fix doesn't work we should probably revert to the previous strategy but using the global specifier "::g_open()" explicitly… … and only on PLATFORM_WINDOWS (POSIX #define g_open open) fails regardless.
2015-07-16Revert "Possible fix for http://tracker.ardour.org/view.php?id=6332"Robin Gareus
This reverts commit 1a619472ca0d7514831476bb9be9980ffbd91f46. On Unix systems "#define g_open open" interferes with class member function IMHO this is the wrong approach, the filename should be converted using glib::filename_from_utf8().
2015-07-16Possible fix for http://tracker.ardour.org/view.php?id=6332John Emmas
For sfdb stuff, use glib file functions in preference to ANSI or libsndfile handling. On Windows, we need functions which understand UTF-8 (so that we'll be able to import sound files, even in a non-English locale).
2015-04-02auditioning [external] files does not need peaks.Robin Gareus
fix inspired by #6227
2015-01-01Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use ↵Tim Mayberry
PBD::Timers
2014-12-30Gracefully handle MIDI parse failure.David Robillard
2014-12-24Add instrument selector to import dialog.David Robillard
Idea here is for importing large multi-track MIDI files to be immediately listenable upon play without tediously adding a ton of instrument plugins manually.
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-11-30Trim the include tree.David Robillard
2014-11-14add abort() to non-reached codeRobin Gareus
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-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-02merge with master and fix 4 conflicts by handPaul Davis
2014-04-29Fixed problem where importing invalid midi files caused crash.3.5.380Damien Zammit
2014-03-27Add internationalization support for my newly committed 'bundle_env_msvc.cc'John Emmas
(also, move a #included file to keep MSVC happy)
2014-03-10tempo match midi auditioning - #5881Robin Gareus
2014-01-29Merge branch 'master' into cairocanvasPaul Davis
2014-01-27comment unused function argumentPaul Davis
2014-01-23fix merge conflict with masterPaul Davis
2014-01-22prepare GUI for auditioning midi filesRobin Gareus
2014-01-21sfdb's clock-states are not part of the session-state, use transient clockRobin Gareus
fixes issue with 'show import dialog' marking session as modified.
2014-01-19visibility macros and flush() added to SrcFileSource; merge with masterPaul Davis
2014-01-19audition: resampler use same quality as importRobin Gareus
2014-01-18towards a SRC source + resampling during auditionRobin Gareus
2014-01-17Merge branch 'master' into cairocanvasPaul Davis
2014-01-17add seeking to sfdb auditionerRobin Gareus
2014-01-10Merge windows+cc branch into cairocanvas branch. Not finished, need to now ↵Paul Davis
merge windows branch to get changes from there
2014-01-05update slider rendering & set style for fadersRobin Gareus
* render background -- outside of rounded corners * visually align unity-location with fader at 0. * sharp lines (no more AA blur) x/y offset, radius
2013-10-14'gtk2_ardour' - Harmonize '__WIN32__', 'OS_WIN32' etc, etc. Use ↵John Emmas
'PLATFORM_WINDOWS' instead
2013-10-06Merge branch 'master' into windows+ccJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/ardour_ui.cc gtk2_ardour/ardour_ui.h gtk2_ardour/ardour_ui_options.cc
2013-10-04switch from MAXPATHLEN to PATH_MAX, and use <limits.h> not <sys/param.h> for ↵Paul Davis
portability
2013-08-24fix merge conflicts from masterPaul Davis
2013-08-08remove --no-freesound option. fixes #5640Robin Gareus
2013-07-31fix merge conflict from masterPaul Davis
2013-07-23fix #5609 (import with 1 track per channel mis-associates tracks + channels)Paul Davis
when using ImportDistinctChannels, correctly name regions so that playlists for each channel/track are also named differently, and thus reloaded properly when the session is reloaded.
2013-07-15use g_unlink() rather than unlink() universally, requires <glib/gstdio.h> in ↵Paul Davis
several files
2013-07-13Assume no filesystem links on windowsPaul Davis
2013-06-21Further Freesound tweaks.Colin Fletcher
Make download of sound files multi-threaded. Each sound file download takes place in its own thread, and has its own progress bar and cancel button, which stack up from the bottom of the list of results. Sound files download into a file with a '.part' suffix, which is then renamed to the intended name on success. Add a 'Similar' button, which searches Freesound for sounds similar to the currently-selected sound in the results list.
2013-06-08NOOP - use PBD's std::string to number functionsRobin Gareus
2013-03-31Make sure every imported file is copied to the session pathRoy Vegard Ovesen
2013-03-30fix up some confusion with filesources' _origin and _file_is_new members. if ↵Paul Davis
_origin is set, it means that the file is "external" to the session (aka "embedded") and for some purposes this is more significant than _file_is_new. rename SourceFactory::createReadable() to ::createExternal() to more clearly indicate its purpose; remove never-supplied "origin" argument from SourceFactor::createWritable(). Fixes problems caused by 864ce8f0
2013-03-17Freesound fixes for #5853, and a few other small improvementsColin Fletcher
Add a 'More' button to load the next page of results without clearing the already-found list. Don't allow cancellation of searches, and don't update progress bar around searches, since we only get one page at a time now. Show number of pages of results remaining to download in the tooltip of the 'More' button. Use a new Mootcher object for each request, to avoid bad things happening when clicking in the Freesound search results list while a search or file download is already in progress. Make the 'Stop' button insensitive except when it will actually stop the download of a sound file. Only retrieve one page worth of data per search, rather than looping to get all pages. Don't show an error in the log window if the user cancelled download. Request 100 items per page, rather than the default 30. Fix DOS line endings.
2013-03-01fix File-Import resampling quality.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@14113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21fix/revert/modify changes from 13617 that hide the gain + peak display from ↵Paul Davis
a generic GainMeter; name import dialog preview fader (fixes 5288) git-svn-id: svn://localhost/ardour2/branches/3.0@13947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03yet another plural form fixRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03plural form fixPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23remove stay-on-top behavior from import dialog, and set its WM classPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13721 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23some more tweaks for the import dialogPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23make import dialog non-modalPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21more freesound UI tweaks:Robin Gareus
* shrink filename column between searches * match-count: translatable sigular/plural forms git-svn-id: svn://localhost/ardour2/branches/3.0@13703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21freesound: tom's diner^Wprogress barRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13702 d708f5d6-7413-0410-9779-e7cbd77b26cf