summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.cc
AgeCommit message (Collapse)Author
2017-02-08use centralized SMF tempo method in both places where we show itPaul Davis
2016-12-21backport/minimize difference to mixbus branchRobin Gareus
2016-12-16add arguments (unusued) to control whether or not SMF tempo map is used ↵Paul Davis
during import
2016-12-16tweak presentation of SMF tempo optionPaul Davis
2016-12-16show tempo information for MIDI files in preview pane; start to offer choice ↵Paul Davis
about using tempo map when importing
2016-12-14GUI changes to allow user to specify how/if to use SMF track/instrument ↵Paul Davis
names during import
2016-12-14change ordering of options for multichannel importPaul Davis
2016-12-14improving logic/flow for SMF type 1 files part 1:Paul Davis
check num tracks for type1 and offer multichannel option if appropriate
2016-10-05GUI support for type-0/1 SMF import (display channel/track count)Robin Gareus
This needs further work: Type-1 SMF are always "One [Ardour] track per [MIDI] track" Only type-0 SMF have the option "One [Ardour] track per [MIDI] channel" and "One [Ardour] track per [MIDI] file" This is ambiguous with multi-channel audio or multiple selection, mixed audio+midi and worse with mixed type0/1 .mid selection. This calls for a dedicated dropdown to select MIDI Import Disposition for type-0 SMF.
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-10NO-OP whitespaceRobin Gareus
2016-07-10re-layout import dialog (better fit for narrow screens)Robin Gareus
The instrument dropdown can be very wide (depending on available synths) and combined with other dropdowns and the copy-checkbox in a single row, the min. width was well above 1400px.
2016-05-24hide Freesound tab (until it gets fixed)Robin Gareus
2016-05-22import audio/midi at "session start by defaultRobin Gareus
Too many users report they import their first tracks and can't find them. Previous default was "at file timestamp". If a file has no timestamp, the import dialog shows "00:00:00:00" but in absence of a timestamp, Editor::add_sources() first checks target tracks and adds add it after the last region, then falls back to use preferred edit position as insert point. In the rare case where a file has timestamps it may show up a few hours in the future. conclusion: import-at-timestamp is not a good default.
2016-02-22change GTKOSX macro constant to use __APPLE__ insteadPaul Davis
2016-01-25GainMeter(Base) now has an explicit gain control given to itPaul Davis
2015-12-08a shot in the dark to work-around windows file-import limit.Robin Gareus
When importing to new tracks, newly created tracks are selected Editor::track_selection_changed() -> SoundFileOmega::reset() -> SoundFileOmega::reset_options() -> check_info() fails -> Glib::signal_idle() error message. it is unclear why check_info would fail in this case since it worked in the first place.. best guess: a concurrency issue opening the file.
2015-10-16use API to add system-specific volumes - #6643Robin Gareus
2015-10-15rework 8b80fe0, use std::string, not char*Robin Gareus
2015-10-14Avoid calls to Glib::ustring << operator at all cost.Robin Gareus
Glib::operator<<(std::ostream&, Glib::ustring const&) involves loadlocale which is not thread-safe on OSX. This fixes various seemingly random crashes on OSX.
2015-10-09Fix wrong 'Import to Region List' default on first call. -fixes #6631André Nusser
2015-10-05use quotes for in-tree pbd/glib wrapper includeRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-20fix initial state of Import DialogRobin Gareus
2015-09-17use pbd's gstdio compatibility wrapper (GUI)Robin Gareus
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-06catch duplicate shortcut folders.Robin Gareus
2015-09-04Remove Apply button in Import dialog/Window and change OK to "Import"Tim Mayberry
Don't close the window when clicking on Import. Changing "OK" to "Import" makes it clear what action is being taken by the button. I quite frequently imported several files from different directories using "Apply" and then would click on OK to finish using the dialog only to have the last import occur again unintentionally. Another option would of been to change "Apply" to "Import" and "OK" to "Import and Close" and not have a Close button.
2015-09-03Change Cancel button in Import Dialog to Close buttonTim Mayberry
This button closes the window, it doesn't actually cancel any importing that has taken place and cancelling the import in progress is done by the Cancel button in popup progress dialog
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.