2588b1cac9
Trim the include tree.
2014-11-30 23:56:19 -05:00
6b3a8915f3
add abort() to non-reached code
...
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-11-14 11:30:08 +01:00
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00
8c9749e42f
merge with master and fix 4 conflicts by hand
2014-06-02 11:32:13 -04:00
2f6065b32c
Fixed problem where importing invalid midi files caused crash.
2014-04-29 06:48:29 +10:00
f5602071ce
Add internationalization support for my newly committed 'bundle_env_msvc.cc'
...
(also, move a #included file to keep MSVC happy)
2014-03-27 10:16:28 +00:00
1374501727
tempo match midi auditioning - #5881
2014-03-10 00:48:48 +01:00
2ba58dfe65
Merge branch 'master' into cairocanvas
2014-01-29 16:08:52 -05:00
b8d31a370a
comment unused function argument
2014-01-27 14:20:19 -05:00
7000afdc66
fix merge conflict with master
2014-01-23 13:41:20 -05:00
acaf46c27d
prepare GUI for auditioning midi files
2014-01-22 15:30:27 +01:00
02533dd0a4
sfdb's clock-states are not part of the session-state, use transient clock
...
fixes issue with 'show import dialog' marking session as modified.
2014-01-21 22:20:44 +01:00
6acdfc69b7
visibility macros and flush() added to SrcFileSource; merge with master
2014-01-19 17:54:47 -05:00
8b71e40fbd
audition: resampler use same quality as import
2014-01-19 00:45:08 +01:00
73c6122591
towards a SRC source + resampling during audition
2014-01-18 13:51:05 +01:00
c0e6f8e4c3
Merge branch 'master' into cairocanvas
2014-01-17 09:13:44 -05:00
b4462b3d22
add seeking to sfdb auditioner
2014-01-17 00:20:58 +01:00
3020b224fa
Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there
2014-01-10 16:07:57 -05:00
d89573f8e7
update slider rendering & set style for faders
...
* render background -- outside of rounded corners
* visually align unity-location with fader at 0.
* sharp lines (no more AA blur) x/y offset, radius
2014-01-05 13:07:31 +01:00
5568026387
'gtk2_ardour' - Harmonize '__WIN32__', 'OS_WIN32' etc, etc. Use 'PLATFORM_WINDOWS' instead
2013-10-14 17:00:28 +01:00
300b484cf6
Merge branch 'master' into windows+cc
...
Conflicts (hopefully resolved):
gtk2_ardour/ardour_ui.cc
gtk2_ardour/ardour_ui.h
gtk2_ardour/ardour_ui_options.cc
2013-10-06 11:56:03 +01:00
1344014cbd
switch from MAXPATHLEN to PATH_MAX, and use <limits.h> not <sys/param.h> for portability
2013-10-04 12:46:31 -04:00
ee1b49f87e
fix merge conflicts from master
2013-08-24 12:18:06 -04:00
897074730a
remove --no-freesound option. fixes #5640
2013-08-08 20:08:20 +02:00
6a436fd826
fix merge conflict from master
2013-07-31 20:11:15 -04:00
d5209cb4bf
fix #5609 (import with 1 track per channel mis-associates tracks + channels)
...
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-23 11:29:10 -04:00
15be154515
use g_unlink() rather than unlink() universally, requires <glib/gstdio.h> in several files
2013-07-15 14:29:00 -04:00
a0ada1f233
Assume no filesystem links on windows
2013-07-13 08:20:45 -04:00
0483803186
Further Freesound tweaks.
...
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-21 21:30:52 +01:00
ce0aa96838
NOOP - use PBD's std::string to number functions
2013-06-08 09:03:26 +02:00
Roy Vegard Ovesen
81a343ff7f
Make sure every imported file is copied to the session path
2013-03-31 03:59:10 +02:00
b691d4bf04
fix up some confusion with filesources' _origin and _file_is_new members. if _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-30 14:02:26 -04:00
2233e91086
Freesound fixes for #5853 , and a few other small improvements
...
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-17 12:33:59 +00:00
926e1a000e
fix File-Import resampling quality.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@14113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-01 00:29:11 +00:00
dabd5bd174
fix/revert/modify changes from 13617 that hide the gain + peak display from 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-21 14:24:57 +00:00
20f5d6736e
yet another plural form fix
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 19:53:11 +00:00
f47ef14fd3
plural form fix
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 19:34:35 +00:00
74c9c806d2
remove stay-on-top behavior from import dialog, and set its WM class
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13721 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 20:34:43 +00:00
836948506a
some more tweaks for the import dialog
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 18:39:19 +00:00
be4337689e
make import dialog non-modal
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 18:25:26 +00:00
92a2b8cb3f
more freesound UI tweaks:
...
* 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-21 20:26:48 +00:00
09f5940c8c
freesound: tom's diner^Wprogress bar
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 19:32:21 +00:00
57b673a9d7
freesound display license
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 19:32:19 +00:00
6d57f7e926
freesound import - various small tweaks
...
* quote search string
* show filesize
* include samplerate in list
* filter out mp3s on Linux
* decrease layout-spacing and shorten progressbar txt.
git-svn-id: svn://localhost/ardour2/branches/3.0@13700 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 17:28:44 +00:00
51091b2cf9
freesound: break page-request loop if search result is empty.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 14:26:10 +00:00
98834c0532
remove a bunch of cerr output and/or convert to use error<<
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 15:11:07 +00:00
a541e4e811
escape markup text that may contain non-legal characters (for GMarkup). this may need to be done more widely
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23 14:45:09 +00:00
a64a79b72c
change packing/design/sizing/labels at bottom of import dialog (should fix #5062 and looks a bit prettier even in english)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-22 15:31:42 +00:00
105caf23da
Use std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h and ardour/session_dir.h
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:06:54 +00:00
Carl Hetherington
46f594ac83
Make sure we always copy Freesound imported files as well as MIDI ones ( #4675 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 21:40:06 +00:00