Index: trunk/src_plugins/autoplace/autoplace.c =================================================================== --- trunk/src_plugins/autoplace/autoplace.c (revision 5692) +++ trunk/src_plugins/autoplace/autoplace.c (revision 5693) @@ -163,7 +163,7 @@ c->Y = ((pcb_pin_t *) c->ptr2)->Y; break; default: - pcb_message(PCB_MSG_DEFAULT, "Odd connection type encountered in " "UpdateXY"); + pcb_message(PCB_MSG_ERROR, "Odd connection type encountered in " "UpdateXY"); break; } } @@ -690,13 +690,13 @@ */ Nets = pcb_rat_proc_netlist(&(PCB->NetlistLib[PCB_NETLIST_EDITED])); if (!Nets) { - pcb_message(PCB_MSG_DEFAULT, _("Can't add rat lines because no netlist is loaded.\n")); + pcb_message(PCB_MSG_ERROR, _("Can't add rat lines because no netlist is loaded.\n")); goto done; } Selected = collectSelectedElements(); if (vtptr_len(&Selected) == 0) { - pcb_message(PCB_MSG_DEFAULT, _("No elements selected to autoplace.\n")); + pcb_message(PCB_MSG_ERROR, _("No elements selected to autoplace.\n")); goto done; } Index: trunk/src_plugins/autoroute/autoroute.c =================================================================== --- trunk/src_plugins/autoroute/autoroute.c (revision 5692) +++ trunk/src_plugins/autoroute/autoroute.c (revision 5693) @@ -2419,7 +2419,7 @@ db.X2 = last; break; default: - pcb_message(PCB_MSG_DEFAULT, "previous edge bogus direction!"); + pcb_message(PCB_MSG_ERROR, "previous edge bogus direction!"); assert(0); } return db; @@ -4314,7 +4314,7 @@ if (request_cancel) { ras.total_nets_routed = 0; ras.conflict_subnets = 0; - pcb_message(PCB_MSG_DEFAULT, "Autorouting cancelled\n"); + pcb_message(PCB_MSG_INFO, "Autorouting cancelled\n"); goto out; } } @@ -4366,7 +4366,7 @@ this_cost = 0; } - pcb_message(PCB_MSG_DEFAULT, "%d of %d nets successfully routed.\n", ras.routed_subnets, ras.total_subnets); + pcb_message(PCB_MSG_INFO, "%d of %d nets successfully routed.\n", ras.routed_subnets, ras.total_subnets); out: pcb_heap_destroy(&this_pass); @@ -4551,7 +4551,7 @@ for (i = 0; i < vtroutestyle_len(&PCB->RouteStyle); i++) { if (PCB->RouteStyle.array[i].Thick == 0 || PCB->RouteStyle.array[i].Diameter == 0 || PCB->RouteStyle.array[i].Hole == 0 || PCB->RouteStyle.array[i].Clearance == 0) { - pcb_message(PCB_MSG_DEFAULT, "You must define proper routing styles\n" "before auto-routing.\n"); + pcb_message(PCB_MSG_ERROR, "You must define proper routing styles\n" "before auto-routing.\n"); return (pcb_false); } } @@ -4646,7 +4646,7 @@ PCB_FLAG_ASSIGN(PCB_FLAG_SELECTED, pcb_true, line); DrawRat(line, 0); #endif /* DEBUG_STALE_RATS */ - pcb_message(PCB_MSG_DEFAULT, "The rats nest is stale! Aborting autoroute...\n"); + pcb_message(PCB_MSG_ERROR, "The rats nest is stale! Aborting autoroute...\n"); goto donerouting; } /* merge subnets into a net! */ @@ -4696,7 +4696,7 @@ if (changed) changed = IronDownAllUnfixedPaths(rd); - pcb_message(PCB_MSG_DEFAULT, "Total added wire length = %$mS, %d vias added\n", (pcb_coord_t) total_wire_length, total_via_count); + pcb_message(PCB_MSG_INFO, "Total added wire length = %$mS, %d vias added\n", (pcb_coord_t) total_wire_length, total_via_count); DestroyRouteData(&rd); if (changed) { pcb_undo_save_serial(); Index: trunk/src_plugins/diag/diag.c =================================================================== --- trunk/src_plugins/diag/diag.c (revision 5692) +++ trunk/src_plugins/diag/diag.c (revision 5693) @@ -61,12 +61,12 @@ conf_role_t role; const char *prefix = ""; if (argc <= 1) { - pcb_message(PCB_MSG_DEFAULT, "conf(dumplht) needs a role"); + pcb_message(PCB_MSG_ERROR, "conf(dumplht) needs a role"); return 1; } role = conf_role_parse(argv[1]); if (role == CFR_invalid) { - pcb_message(PCB_MSG_DEFAULT, "Invalid role: '%s'", argv[1]); + pcb_message(PCB_MSG_ERROR, "Invalid role: '%s'", argv[1]); return 1; } if (argc > 2) Index: trunk/src_plugins/export_gcode/gcode.c =================================================================== --- trunk/src_plugins/export_gcode/gcode.c (revision 5692) +++ trunk/src_plugins/export_gcode/gcode.c (revision 5693) @@ -319,7 +319,7 @@ #ifdef HAVE_GDIMAGEPNG gdImagePng(gcode_im, gcode_f); #else - pcb_message(PCB_MSG_DEFAULT, "GCODE: PNG not supported by gd. Can't write layer mask.\n"); + pcb_message(PCB_MSG_WARNING, "GCODE: PNG not supported by gd. Can't write layer mask.\n"); #endif gdImageDestroy(gcode_im); fclose(gcode_f); Index: trunk/src_plugins/export_gerber/gerber.c =================================================================== --- trunk/src_plugins/export_gerber/gerber.c (revision 5692) +++ trunk/src_plugins/export_gerber/gerber.c (revision 5693) @@ -635,7 +635,7 @@ assign_file_suffix(filesuff, layer, flags); f = fopen(filename, "wb"); /* Binary needed to force CR-LF */ if (f == NULL) { - pcb_message(PCB_MSG_DEFAULT, "Error: Could not open %s for writing.\n", filename); + pcb_message(PCB_MSG_ERROR, "Error: Could not open %s for writing.\n", filename); return 1; } Index: trunk/src_plugins/export_nelma/nelma.c =================================================================== --- trunk/src_plugins/export_nelma/nelma.c (revision 5692) +++ trunk/src_plugins/export_nelma/nelma.c (revision 5693) @@ -554,7 +554,7 @@ #ifdef HAVE_GDIMAGEPNG gdImagePng(nelma_im, nelma_f); #else - pcb_message(PCB_MSG_DEFAULT, "NELMA: PNG not supported by gd. Can't write layer mask.\n"); + pcb_message(PCB_MSG_WARNING, "NELMA: PNG not supported by gd. Can't write layer mask.\n"); #endif gdImageDestroy(nelma_im); fclose(nelma_f); Index: trunk/src_plugins/export_png/png.c =================================================================== --- trunk/src_plugins/export_png/png.c (revision 5692) +++ trunk/src_plugins/export_png/png.c (revision 5693) @@ -708,7 +708,7 @@ im = gdImageCreate(w, h); if (im == NULL) { - pcb_message(PCB_MSG_DEFAULT, "png_do_export(): gdImageCreate(%d, %d) returned NULL. Aborting export.\n", w, h); + pcb_message(PCB_MSG_ERROR, "png_do_export(): gdImageCreate(%d, %d) returned NULL. Aborting export.\n", w, h); return; } @@ -729,7 +729,7 @@ white->a = 0; white->c = gdImageColorAllocateAlpha(im, white->r, white->g, white->b, white->a); if (white->c == BADC) { - pcb_message(PCB_MSG_DEFAULT, "png_do_export(): gdImageColorAllocateAlpha() returned NULL. Aborting export.\n"); + pcb_message(PCB_MSG_ERROR, "png_do_export(): gdImageColorAllocateAlpha() returned NULL. Aborting export.\n"); return; } @@ -739,7 +739,7 @@ black->r = black->g = black->b = black->a = 0; black->c = gdImageColorAllocate(im, black->r, black->g, black->b); if (black->c == BADC) { - pcb_message(PCB_MSG_DEFAULT, "png_do_export(): gdImageColorAllocateAlpha() returned NULL. Aborting export.\n"); + pcb_message(PCB_MSG_ERROR, "png_do_export(): gdImageColorAllocateAlpha() returned NULL. Aborting export.\n"); return; } @@ -970,7 +970,7 @@ static color_struct *black = NULL, *white = NULL; *photo_im = gdImageCreate(gdImageSX(im), gdImageSY(im)); if (photo_im == NULL) { - pcb_message(PCB_MSG_DEFAULT, "png_set_layer(): gdImageCreate(%d, %d) returned NULL. Aborting export.\n", gdImageSX(im), gdImageSY(im)); + pcb_message(PCB_MSG_ERROR, "png_set_layer(): gdImageCreate(%d, %d) returned NULL. Aborting export.\n", gdImageSX(im), gdImageSY(im)); return 0; } @@ -980,7 +980,7 @@ white->a = 0; white->c = gdImageColorAllocate(*photo_im, white->r, white->g, white->b); if (white->c == BADC) { - pcb_message(PCB_MSG_DEFAULT, "png_set_layer(): gdImageColorAllocate() returned NULL. Aborting export.\n"); + pcb_message(PCB_MSG_ERROR, "png_set_layer(): gdImageColorAllocate() returned NULL. Aborting export.\n"); return 0; } @@ -988,7 +988,7 @@ black->r = black->g = black->b = black->a = 0; black->c = gdImageColorAllocate(*photo_im, black->r, black->g, black->b); if (black->c == BADC) { - pcb_message(PCB_MSG_DEFAULT, "png_set_layer(): gdImageColorAllocate() returned NULL. Aborting export.\n"); + pcb_message(PCB_MSG_ERROR, "png_set_layer(): gdImageColorAllocate() returned NULL. Aborting export.\n"); return 0; } @@ -1067,7 +1067,7 @@ if (mask_im == NULL) { mask_im = gdImageCreate(gdImageSX(im), gdImageSY(im)); if (!mask_im) { - pcb_message(PCB_MSG_DEFAULT, "png_use_mask(): gdImageCreate(%d, %d) returned NULL. Corrupt export!\n", gdImageSY(im), gdImageSY(im)); + pcb_message(PCB_MSG_ERROR, "png_use_mask(): gdImageCreate(%d, %d) returned NULL. Corrupt export!\n", gdImageSY(im), gdImageSY(im)); return; } gdImagePaletteCopy(mask_im, im); @@ -1119,7 +1119,7 @@ sscanf(name + 1, "%2x%2x%2x", &(gc->color->r), &(gc->color->g), &(gc->color->b)); gc->color->c = gdImageColorAllocate(master_im, gc->color->r, gc->color->g, gc->color->b); if (gc->color->c == BADC) { - pcb_message(PCB_MSG_DEFAULT, "png_set_color(): gdImageColorAllocate() returned NULL. Aborting export.\n"); + pcb_message(PCB_MSG_ERROR, "png_set_color(): gdImageColorAllocate() returned NULL. Aborting export.\n"); return; } cval.ptr = gc->color; @@ -1201,18 +1201,18 @@ int bg, fg; gc->brush = gdImageCreate(r, r); if (gc->brush == NULL) { - pcb_message(PCB_MSG_DEFAULT, "use_gc(): gdImageCreate(%d, %d) returned NULL. Aborting export.\n", r, r); + pcb_message(PCB_MSG_ERROR, "use_gc(): gdImageCreate(%d, %d) returned NULL. Aborting export.\n", r, r); return; } bg = gdImageColorAllocate(gc->brush, 255, 255, 255); if (bg == BADC) { - pcb_message(PCB_MSG_DEFAULT, "use_gc(): gdImageColorAllocate() returned NULL. Aborting export.\n"); + pcb_message(PCB_MSG_ERROR, "use_gc(): gdImageColorAllocate() returned NULL. Aborting export.\n"); return; } fg = gdImageColorAllocateAlpha(gc->brush, gc->color->r, gc->color->g, gc->color->b, 0); if (fg == BADC) { - pcb_message(PCB_MSG_DEFAULT, "use_gc(): gdImageColorAllocate() returned NULL. Aborting export.\n"); + pcb_message(PCB_MSG_ERROR, "use_gc(): gdImageColorAllocate() returned NULL. Aborting export.\n"); return; } gdImageColorTransparent(gc->brush, bg); Index: trunk/src_plugins/export_ps/ps.c =================================================================== --- trunk/src_plugins/export_ps/ps.c (revision 5692) +++ trunk/src_plugins/export_ps/ps.c (revision 5693) @@ -1474,7 +1474,7 @@ if (xval < 2) ps_attribute_list[HA_xcalib].default_val.real_value = global.calibration_x = xval; else - pcb_message(PCB_MSG_DEFAULT, "X value of %g is too far off.\n" "Expecting it near: 1.0, 4.0, 15.0, 7.5\n", xval); + pcb_message(PCB_MSG_ERROR, "X value of %g is too far off.\n" "Expecting it near: 1.0, 4.0, 15.0, 7.5\n", xval); } if (guess(yval, 4, &global.calibration_y)) if (guess(yval, 20, &global.calibration_y)) @@ -1482,7 +1482,7 @@ if (yval < 2) ps_attribute_list[HA_ycalib].default_val.real_value = global.calibration_y = yval; else - pcb_message(PCB_MSG_DEFAULT, "Y value of %g is too far off.\n" "Expecting it near: 1.0, 4.0, 20.0, 10.0\n", yval); + pcb_message(PCB_MSG_ERROR, "Y value of %g is too far off.\n" "Expecting it near: 1.0, 4.0, 20.0, 10.0\n", yval); } return; } Index: trunk/src_plugins/fp_fs/fp_fs.c =================================================================== --- trunk/src_plugins/fp_fs/fp_fs.c (revision 5692) +++ trunk/src_plugins/fp_fs/fp_fs.c (revision 5693) @@ -124,7 +124,7 @@ /* Cache old dir, then cd into subdir because stat is given relative file names. */ memset(olddir, 0, sizeof olddir); if (pcb_get_wd(olddir) == NULL) { - pcb_message(PCB_MSG_DEFAULT, _("fp_fs_list(): Could not determine initial working directory\n")); + pcb_message(PCB_MSG_ERROR, _("fp_fs_list(): Could not determine initial working directory\n")); return 0; } @@ -140,7 +140,7 @@ /* Determine subdir's abs path */ if (pcb_get_wd(new_subdir) == NULL) { - pcb_message(PCB_MSG_DEFAULT, _("fp_fs_list(): Could not determine new working directory\n")); + pcb_message(PCB_MSG_ERROR, _("fp_fs_list(): Could not determine new working directory\n")); if (chdir(olddir)) pcb_chdir_error_message(olddir); return 0; Index: trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/dialogs/dialogs.c =================================================================== --- trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/dialogs/dialogs.c (revision 5692) +++ trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/dialogs/dialogs.c (revision 5693) @@ -9,7 +9,7 @@ if (pcb_gui == NULL) fprintf(stderr, "couldn't find gui for log: \"%s\"\n", msg); else - pcb_message(PCB_MSG_DEFAULT, "%s", msg); + pcb_message(PCB_MSG_INFO, "%s", msg); } #define empty(s) (((s) == NULL) || ((*s) == '\0')) Index: trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/hid/hid.c =================================================================== --- trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/hid/hid.c (revision 5692) +++ trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/hid/hid.c (revision 5693) @@ -166,7 +166,7 @@ const pcb_unit_t *u; u = get_unit_struct(end); if (u == NULL) { - pcb_message(PCB_MSG_DEFAULT, "Invalid unit for HIDA_Coord in the script: '%s'\n", end); + pcb_message(PCB_MSG_ERROR, "Invalid unit for HIDA_Coord in the script: '%s'\n", end); v.coord_value = 0; } else Index: trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/debug_draw.c =================================================================== --- trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/debug_draw.c (revision 5692) +++ trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/debug_draw.c (revision 5693) @@ -39,7 +39,7 @@ need_ddh(NULL); gc = ddh->make_gc(); if (gc == NULL) { - pcb_message(PCB_MSG_DEFAULT, "debug_draw_dctx(): failed to make a new gc on ddh %p\n", (void *)ddh); + pcb_message(PCB_MSG_ERROR, "debug_draw_dctx(): failed to make a new gc on ddh %p\n", (void *)ddh); return NULL; } Index: trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/draw.c =================================================================== --- trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/draw.c (revision 5692) +++ trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/draw.c (revision 5693) @@ -7,7 +7,7 @@ #define setup(func) \ pcb_hid_gc_t gc = ctx->gc; \ pcb_hid_t *hid = ctx->hid; \ - if ((hid == NULL) && (gc == NULL)) pcb_message(PCB_MSG_DEFAULT, "%s failed because of invalid hid or gc\n", func); \ + if ((hid == NULL) && (gc == NULL)) pcb_message(PCB_MSG_ERROR, "%s failed because of invalid hid or gc\n", func); \ if ((hid == NULL) && (gc == NULL)) return Index: trunk/src_plugins/hid_lesstif/main.c =================================================================== --- trunk/src_plugins/hid_lesstif/main.c (revision 5692) +++ trunk/src_plugins/hid_lesstif/main.c (revision 5693) @@ -1678,7 +1678,7 @@ key = XStringToKeysym(desc); if (key == NoSymbol && len > 1) { - pcb_message(PCB_MSG_DEFAULT, "no symbol for %s\n", desc); + pcb_message(PCB_MSG_INFO, "lesstif_translate_key: no symbol for %s\n", desc); return 0; } return key; Index: trunk/src_plugins/hid_lesstif/menu.c =================================================================== --- trunk/src_plugins/hid_lesstif/menu.c (revision 5692) +++ trunk/src_plugins/hid_lesstif/menu.c (revision 5693) @@ -930,7 +930,7 @@ lesstif_cfg = pcb_hid_cfg_load("lesstif", 0, lesstif_menu_default); if (lesstif_cfg == NULL) { - pcb_message(PCB_MSG_DEFAULT, "FATAL: can't load the lesstif menu res either from file or from hardwired default."); + pcb_message(PCB_MSG_ERROR, "FATAL: can't load the lesstif menu res either from file or from hardwired default."); abort(); } Index: trunk/src_plugins/import_netlist/import_netlist.c =================================================================== --- trunk/src_plugins/import_netlist/import_netlist.c (revision 5692) +++ trunk/src_plugins/import_netlist/import_netlist.c (revision 5693) @@ -62,12 +62,12 @@ if (!filename) return (1); /* nothing to do */ - pcb_message(PCB_MSG_DEFAULT, _("Importing PCB netlist %s\n"), filename); + pcb_message(PCB_MSG_INFO, _("Importing PCB netlist %s\n"), filename); if (PCB_EMPTY_STRING_P(conf_core.rc.rat_command)) { fp = fopen(filename, "r"); if (!fp) { - pcb_message(PCB_MSG_DEFAULT, "Cannot open %s for reading", filename); + pcb_message(PCB_MSG_ERROR, "Cannot open %s for reading", filename); return 1; } } @@ -98,7 +98,7 @@ /* check for maximum length line */ if (len) { if (inputline[--len] != '\n') - pcb_message(PCB_MSG_DEFAULT, _("Line length (%i) exceeded in netlist file.\n" + pcb_message(PCB_MSG_ERROR, _("Line length (%i) exceeded in netlist file.\n" "additional characters will be ignored.\n"), PCB_MAX_NETLIST_LINE_LENGTH); else inputline[len] = '\0'; @@ -145,7 +145,7 @@ kind = 0; } if (!lines) { - pcb_message(PCB_MSG_DEFAULT, _("Empty netlist file!\n")); + pcb_message(PCB_MSG_ERROR, _("Empty netlist file!\n")); pclose(fp); return (1); } Index: trunk/src_plugins/import_sch/import_sch.c =================================================================== --- trunk/src_plugins/import_sch/import_sch.c (revision 5692) +++ trunk/src_plugins/import_sch/import_sch.c (revision 5693) @@ -231,7 +231,7 @@ y = pcb_get_value(ys, units, NULL, NULL); } else { - pcb_message(PCB_MSG_DEFAULT, _("Bad syntax for Import(setnewpoint)")); + pcb_message(PCB_MSG_ERROR, _("Bad syntax for Import(setnewpoint)")); return 1; } @@ -431,7 +431,7 @@ pcb_tempfile_unlink(tmpfile); } else { - pcb_message(PCB_MSG_DEFAULT, _("Unknown import mode: %s\n"), mode); + pcb_message(PCB_MSG_ERROR, _("Unknown import mode: %s\n"), mode); return 1; } Index: trunk/src_plugins/io_pcb/parse_y.y =================================================================== --- trunk/src_plugins/io_pcb/parse_y.y (revision 5692) +++ trunk/src_plugins/io_pcb/parse_y.y (revision 5693) @@ -2033,7 +2033,7 @@ check_file_version (int ver) { if ( ver > PCB_FILE_VERSION ) { - pcb_message(PCB_MSG_DEFAULT, "ERROR: The file you are attempting to load is in a format\n" + pcb_message(PCB_MSG_ERROR, "ERROR: The file you are attempting to load is in a format\n" "which is too new for this version of pcb. To load this file\n" "you need a version of pcb which is >= %d. If you are\n" "using a version built from git source, the source date\n" Index: trunk/src_plugins/oldactions/oldactions.c =================================================================== --- trunk/src_plugins/oldactions/oldactions.c (revision 5692) +++ trunk/src_plugins/oldactions/oldactions.c (revision 5693) @@ -40,11 +40,11 @@ { conf_native_t *n = conf_get_field(path); if (n == NULL) { - pcb_message(PCB_MSG_DEFAULT, "Error: can't find config node %s to toggle\n", path); + pcb_message(PCB_MSG_ERROR, "Error: can't find config node %s to toggle\n", path); return; } if (n->type != CFN_BOOLEAN) { - pcb_message(PCB_MSG_DEFAULT, "Error: config node %s is not a boolean, can't toggle\n", path); + pcb_message(PCB_MSG_ERROR, "Error: config node %s is not a boolean, can't toggle\n", path); return; } Index: trunk/src_plugins/propedit/propedit.c =================================================================== --- trunk/src_plugins/propedit/propedit.c (revision 5692) +++ trunk/src_plugins/propedit/propedit.c (revision 5693) @@ -40,7 +40,7 @@ htsp_entry_t *pe; if ((pcb_gui == NULL) || (pcb_gui->propedit_start == NULL)) { - pcb_message(PCB_MSG_DEFAULT, "Error: there's no GUI or the active GUI can't edit properties.\n"); + pcb_message(PCB_MSG_ERROR, "Error: there's no GUI or the active GUI can't edit properties.\n"); return 1; } Index: trunk/src_plugins/renumber/renumber.c =================================================================== --- trunk/src_plugins/renumber/renumber.c (revision 5692) +++ trunk/src_plugins/renumber/renumber.c (revision 5693) @@ -110,7 +110,7 @@ } if ((out = fopen(name, "w")) == NULL) { - pcb_message(PCB_MSG_DEFAULT, _("Could not open %s\n"), name); + pcb_message(PCB_MSG_ERROR, _("Could not open %s\n"), name); if (free_name && name) free((char*)name); return 1; Index: trunk/src_plugins/report/report.c =================================================================== --- trunk/src_plugins/report/report.c (revision 5692) +++ trunk/src_plugins/report/report.c (revision 5693) @@ -461,7 +461,7 @@ } if ((report == NULL) || (report == '\0')) { - pcb_message(PCB_MSG_DEFAULT, _("Nothing found to report on\n")); + pcb_message(PCB_MSG_INFO, _("Nothing found to report on\n")); return 1; } @@ -747,7 +747,7 @@ if (use_re) { regex = re_sei_comp(tofind); if (re_sei_errno(regex) != 0) { - pcb_message(PCB_MSG_DEFAULT, _("regexp error: %s\n"), re_error_str(re_sei_errno(regex))); + pcb_message(PCB_MSG_ERROR, _("regexp error: %s\n"), re_error_str(re_sei_errno(regex))); re_sei_free(regex); return (1); } Index: trunk/src_plugins/rubberband_orig/rubberband.c =================================================================== --- trunk/src_plugins/rubberband_orig/rubberband.c (revision 5692) +++ trunk/src_plugins/rubberband_orig/rubberband.c (revision 5693) @@ -287,7 +287,7 @@ pcb_rubber_band_create(rbnd, NULL, (pcb_line_t *) rat, &rat->Point2); break; default: - pcb_message(PCB_MSG_DEFAULT, "hace: bad rubber-rat lookup callback\n"); + pcb_message(PCB_MSG_ERROR, "hace: bad rubber-rat lookup callback\n"); } return PCB_R_DIR_NOT_FOUND; } Index: trunk/src_plugins/shand_cmd/command.c =================================================================== --- trunk/src_plugins/shand_cmd/command.c (revision 5692) +++ trunk/src_plugins/shand_cmd/command.c (revision 5693) @@ -77,7 +77,7 @@ static int CommandHelp(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { - pcb_message(PCB_MSG_DEFAULT, "following commands are supported:\n" + pcb_message(PCB_MSG_INFO, "following commands are supported:\n" " Command() execute an action command (too numerous to list)\n" " see the manual for the list of action commands\n" " h display this help message\n" @@ -121,7 +121,7 @@ break; default: /* usage */ - pcb_message(PCB_MSG_DEFAULT, "Usage: l [name]\n loads layout data\n"); + pcb_message(PCB_MSG_ERROR, "Usage: l [name]\n loads layout data\n"); return (1); } @@ -157,7 +157,7 @@ break; default: /* usage */ - pcb_message(PCB_MSG_DEFAULT, pcb_false, "Usage: le [name]\n loads element data to buffer\n"); + pcb_message(PCB_MSG_ERROR, pcb_false, "Usage: le [name]\n loads element data to buffer\n"); return (1); } return (0); @@ -193,7 +193,7 @@ break; default: /* usage */ - pcb_message(PCB_MSG_DEFAULT, "Usage: m [name]\n loads layout data to buffer\n"); + pcb_message(PCB_MSG_ERROR, "Usage: m [name]\n loads layout data to buffer\n"); return (1); } return (0); @@ -270,7 +270,7 @@ break; default: /* usage */ - pcb_message(PCB_MSG_DEFAULT, "Usage: rn [name]\n reads in a netlist file\n"); + pcb_message(PCB_MSG_ERROR, "Usage: rn [name]\n reads in a netlist file\n"); return (1); } if (PCB->Netlistname) @@ -319,7 +319,7 @@ pcb_board_set_changed_flag(pcb_false); } else - pcb_message(PCB_MSG_DEFAULT, "No filename to save to yet\n"); + pcb_message(PCB_MSG_ERROR, "No filename to save to yet\n"); break; case 1: @@ -333,7 +333,7 @@ break; default: - pcb_message(PCB_MSG_DEFAULT, "Usage: s [name] | w [name]\n saves layout data\n"); + pcb_message(PCB_MSG_ERROR, "Usage: s [name] | w [name]\n saves layout data\n"); return (1); } return (0); Index: trunk/src_plugins/stroke/stroke.c =================================================================== --- trunk/src_plugins/stroke/stroke.c (revision 5692) +++ trunk/src_plugins/stroke/stroke.c (revision 5693) @@ -131,7 +131,7 @@ } default: - pcb_message(PCB_MSG_DEFAULT, _("Unknown stroke %s\n"), msg); + pcb_message(PCB_MSG_INFO, _("Unknown stroke %s\n"), msg); break; } }