mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
remove, convert, comment several cerr statements
git-svn-id: svn://localhost/ardour2/branches/3.0@12378 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
fa1e12b682
commit
8d5065bc32
15 changed files with 5 additions and 32 deletions
|
|
@ -157,11 +157,7 @@ ActionManager::map_some_state (const char* group, const char* action, bool (RCCo
|
||||||
if (tact->get_active() != x) {
|
if (tact->get_active() != x) {
|
||||||
tact->set_active (x);
|
tact->set_active (x);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
cerr << group << ':' << action << " is not a toggle\n";
|
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
cerr << group << ':' << action << " not an action\n";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1162,7 +1162,6 @@ ARDOUR_UI::redisplay_recent_sessions ()
|
||||||
/* check whether session still exists */
|
/* check whether session still exists */
|
||||||
if (!Glib::file_test(fullpath.c_str(), Glib::FILE_TEST_EXISTS)) {
|
if (!Glib::file_test(fullpath.c_str(), Glib::FILE_TEST_EXISTS)) {
|
||||||
/* session doesn't exist */
|
/* session doesn't exist */
|
||||||
cerr << "skipping non-existent session " << fullpath << endl;
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2839,7 +2838,6 @@ ARDOUR_UI::show_splash ()
|
||||||
try {
|
try {
|
||||||
splash = new Splash;
|
splash = new Splash;
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
cerr << "Splash could not be created\n";
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,6 @@ void
|
||||||
AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool show)
|
AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool show)
|
||||||
{
|
{
|
||||||
if (param.type() == NullAutomation) {
|
if (param.type() == NullAutomation) {
|
||||||
cerr << "WARNING: Attempt to create NullAutomation child, ignoring" << endl;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -442,8 +442,6 @@ AutomationTimeAxisView::set_height (uint32_t h)
|
||||||
auto_button.hide();
|
auto_button.hide();
|
||||||
hide_button.hide();
|
hide_button.hide();
|
||||||
}
|
}
|
||||||
} else if (h >= preset_height (HeightNormal)) {
|
|
||||||
cerr << "track grown, but neither changed_between_small_and_normal nor first_call_to_set_height set!" << endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (changed) {
|
if (changed) {
|
||||||
|
|
|
||||||
|
|
@ -786,7 +786,6 @@ Editor::button_settings () const
|
||||||
XMLNode* node = find_named_node (*settings, X_("Buttons"));
|
XMLNode* node = find_named_node (*settings, X_("Buttons"));
|
||||||
|
|
||||||
if (!node) {
|
if (!node) {
|
||||||
cerr << "new empty Button node\n";
|
|
||||||
node = new XMLNode (X_("Buttons"));
|
node = new XMLNode (X_("Buttons"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -732,7 +732,7 @@ Editor::left_track_canvas (GdkEventCrossing */*ev*/)
|
||||||
{
|
{
|
||||||
DropDownKeys ();
|
DropDownKeys ();
|
||||||
within_track_canvas = false;
|
within_track_canvas = false;
|
||||||
cerr << "left track canvas\n";
|
//cerr << "left track canvas\n";
|
||||||
set_entered_track (0);
|
set_entered_track (0);
|
||||||
set_entered_regionview (0);
|
set_entered_regionview (0);
|
||||||
reset_canvas_action_sensitivity (false);
|
reset_canvas_action_sensitivity (false);
|
||||||
|
|
@ -742,7 +742,7 @@ Editor::left_track_canvas (GdkEventCrossing */*ev*/)
|
||||||
bool
|
bool
|
||||||
Editor::entered_track_canvas (GdkEventCrossing */*ev*/)
|
Editor::entered_track_canvas (GdkEventCrossing */*ev*/)
|
||||||
{
|
{
|
||||||
cerr << "entered track canvas\n";
|
//cerr << "entered track canvas\n";
|
||||||
within_track_canvas = true;
|
within_track_canvas = true;
|
||||||
reset_canvas_action_sensitivity (true);
|
reset_canvas_action_sensitivity (true);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
||||||
|
|
@ -2430,10 +2430,6 @@ Editor::point_trim (GdkEvent* event, framepos_t new_bound)
|
||||||
for (list<RegionView*>::const_iterator i = selection->regions.by_layer().begin();
|
for (list<RegionView*>::const_iterator i = selection->regions.by_layer().begin();
|
||||||
i != selection->regions.by_layer().end(); ++i)
|
i != selection->regions.by_layer().end(); ++i)
|
||||||
{
|
{
|
||||||
if ( (*i) == NULL){
|
|
||||||
cerr << "region view contains null region" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(*i)->region()->locked()) {
|
if (!(*i)->region()->locked()) {
|
||||||
(*i)->region()->clear_changes ();
|
(*i)->region()->clear_changes ();
|
||||||
(*i)->region()->trim_front (new_bound);
|
(*i)->region()->trim_front (new_bound);
|
||||||
|
|
|
||||||
|
|
@ -3202,15 +3202,10 @@ Editor::trim_region (bool front)
|
||||||
framepos_t where = get_preferred_edit_position();
|
framepos_t where = get_preferred_edit_position();
|
||||||
RegionSelection rs = get_regions_from_selection_and_edit_point ();
|
RegionSelection rs = get_regions_from_selection_and_edit_point ();
|
||||||
|
|
||||||
cerr << "trim regions\n";
|
|
||||||
|
|
||||||
if (rs.empty()) {
|
if (rs.empty()) {
|
||||||
cerr << " no regions\n";
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
cerr << "where = " << where << endl;
|
|
||||||
|
|
||||||
begin_reversible_command (front ? _("trim front") : _("trim back"));
|
begin_reversible_command (front ? _("trim front") : _("trim back"));
|
||||||
|
|
||||||
for (list<RegionView*>::const_iterator i = rs.by_layer().begin(); i != rs.by_layer().end(); ++i) {
|
for (list<RegionView*>::const_iterator i = rs.by_layer().begin(); i != rs.by_layer().end(); ++i) {
|
||||||
|
|
|
||||||
|
|
@ -367,7 +367,6 @@ EditorRouteGroups::button_press_event (GdkEventButton* ev)
|
||||||
|
|
||||||
case 12:
|
case 12:
|
||||||
val = (*iter)[_columns.active_shared];
|
val = (*iter)[_columns.active_shared];
|
||||||
cerr << "set group active to " << !val << endl;
|
|
||||||
group->set_route_active (!val);
|
group->set_route_active (!val);
|
||||||
ret = true;
|
ret = true;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -264,7 +264,6 @@ Editor::set_selected_track_as_side_effect (Selection::Operation op)
|
||||||
|
|
||||||
case Selection::Extend:
|
case Selection::Extend:
|
||||||
selection->clear();
|
selection->clear();
|
||||||
cerr << ("Editor::set_selected_track_as_side_effect case Selection::Add not yet implemented\n");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -109,8 +109,6 @@ KeyEditor::unbind ()
|
||||||
|
|
||||||
unbind_button.set_sensitive (false);
|
unbind_button.set_sensitive (false);
|
||||||
|
|
||||||
cerr << "trying to unbind\n";
|
|
||||||
|
|
||||||
if (i != model->children().end()) {
|
if (i != model->children().end()) {
|
||||||
string path = (*i)[columns.path];
|
string path = (*i)[columns.path];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2909,7 +2909,7 @@ MidiRegionView::change_note_lengths (bool fine, bool shorter, Evoral::MusicalTim
|
||||||
delta = trackview.editor().get_grid_type_as_beats (success, _region->position());
|
delta = trackview.editor().get_grid_type_as_beats (success, _region->position());
|
||||||
if (!success) {
|
if (!success) {
|
||||||
/* XXX cannot get grid type as beats ... should always be possible ... FIX ME */
|
/* XXX cannot get grid type as beats ... should always be possible ... FIX ME */
|
||||||
cerr << "Grid type not available as beats - TO BE FIXED\n";
|
error << string_compose (_("programming error: %1"), "Grid type not available as beats - TO BE FIXED") << endmsg;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -861,7 +861,6 @@ void
|
||||||
MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool show)
|
MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool show)
|
||||||
{
|
{
|
||||||
if (param.type() == NullAutomation) {
|
if (param.type() == NullAutomation) {
|
||||||
cerr << "WARNING: Attempt to create NullAutomation child, ignoring" << endl;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -874,8 +873,6 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
|
||||||
* since it will have been set visible by default.
|
* since it will have been set visible by default.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
cerr << "show existing auto track: " << show << " noredraw " << no_redraw << endl;
|
|
||||||
|
|
||||||
if (existing->second->set_marked_for_display (show) && !no_redraw) {
|
if (existing->second->set_marked_for_display (show) && !no_redraw) {
|
||||||
request_redraw ();
|
request_redraw ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@ MissingFileDialog::MissingFileDialog (Session* s, const std::string& path, DataT
|
||||||
string dirstr;
|
string dirstr;
|
||||||
|
|
||||||
dirstr = s->source_search_path (type);
|
dirstr = s->source_search_path (type);
|
||||||
cerr << "Search path = " << dirstr << endl;
|
|
||||||
replace_all (dirstr, ":", "\n");
|
replace_all (dirstr, ":", "\n");
|
||||||
|
|
||||||
msg.set_justify (JUSTIFY_CENTER);
|
msg.set_justify (JUSTIFY_CENTER);
|
||||||
|
|
|
||||||
|
|
@ -715,7 +715,7 @@ ArdourStartup::populate_session_templates ()
|
||||||
static bool
|
static bool
|
||||||
lost_name_entry_focus (GdkEventFocus*)
|
lost_name_entry_focus (GdkEventFocus*)
|
||||||
{
|
{
|
||||||
cerr << "lost focus\n";
|
// cerr << "lost focus\n";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -891,7 +891,7 @@ ArdourStartup::setup_new_session_page ()
|
||||||
void
|
void
|
||||||
ArdourStartup::new_name_mapped ()
|
ArdourStartup::new_name_mapped ()
|
||||||
{
|
{
|
||||||
cerr << "Grab new name focus\n";
|
// cerr << "Grab new name focus\n";
|
||||||
new_name_entry.grab_focus ();
|
new_name_entry.grab_focus ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue