diff --git a/common/plotters/GERBER_plotter.cpp b/common/plotters/GERBER_plotter.cpp index dfd5d2a90a..2d0314116c 100644 --- a/common/plotters/GERBER_plotter.cpp +++ b/common/plotters/GERBER_plotter.cpp @@ -1,8 +1,8 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 2018 Jean-Pierre Charras, jp.charras at wanadoo.fr - * Copyright (C) 2018 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2019 Jean-Pierre Charras, jp.charras at wanadoo.fr + * Copyright (C) 2019 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -201,8 +201,12 @@ bool GERBER_PLOTTER::StartPlot() m_gerberUnitInch ? "inch" : "mm" ); wxString Title = creator + wxT( " " ) + GetBuildVersion(); + // In gerber files, ASCII7 chars only are allowed. + // So use a ISO date format (using a space as separator between date and time), + // not a localized date format + wxDateTime date = wxDateTime::Now(); fprintf( outputFile, "G04 Created by KiCad (%s) date %s*\n", - TO_UTF8( Title ), TO_UTF8( DateAndTime() ) ); + TO_UTF8( Title ), TO_UTF8( date.FormatISOCombined( ' ') ) ); /* Mass parameter: unit = INCHES/MM */ if( m_gerberUnitInch ) diff --git a/pcbnew/dialogs/dialog_drc_base.fbp b/pcbnew/dialogs/dialog_drc_base.fbp index 5457a1a89a..7e1a9ba75c 100644 --- a/pcbnew/dialogs/dialog_drc_base.fbp +++ b/pcbnew/dialogs/dialog_drc_base.fbp @@ -1,8 +1,8 @@ - + - + C++ 1 source_name @@ -14,12 +14,12 @@ dialog_drc_base 1000 none - + 1 dialog_drc_base - + . - + 1 1 1 @@ -30,67 +30,67 @@ 0 wxAUI_MGR_DEFAULT - - - + + + 1 1 impl_virtual - - - + + + 0 wxID_ANY - - + + DIALOG_DRC_CONTROL_BASE - + -1,-1 wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER DIALOG_SHIM; dialog_shim.h DRC Control - - - - + + + + OnActivateDlg - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + m_MainSizer wxVERTICAL none @@ -99,12 +99,12 @@ wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT 0 - + wxBOTH 0,1 - + 10 - + gbSizer1 wxFLEX_GROWMODE_SPECIFIED none @@ -117,7 +117,7 @@ 0 1 - + bSizerOptions wxVERTICAL none @@ -129,9 +129,9 @@ 3 wxHORIZONTAL 1 - + 0 - + fgMinValuesSizer wxFLEX_GROWMODE_SPECIFIED none @@ -146,78 +146,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY Clearance: - + 0 - - + + 0 - + 1 m_ClearanceTitle 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -229,91 +229,91 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 0 - + 1 - + 0 0 wxID_ANY - + 0 - + 0 - + 0 - + 1 m_SetClearance 1 - - + + public 1 - + Resizable 1 - - - + + + 0 - - + + wxFILTER_NONE wxDefaultValidator - + by Netclass - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5 - + 0 0 @@ -330,78 +330,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY Minimum track width: - + 0 - - + + 0 - + 1 m_TrackMinWidthTitle 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 Enter the minimum acceptable value for a track width - - - + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -413,86 +413,86 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - + 0 - + 0 - + 1 m_SetTrackMinWidthCtrl 1 - - + + public 1 - + Resizable 1 - - - + + + 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -504,78 +504,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY unit - + 0 - - + + 0 - + 1 m_TrackMinWidthUnit 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 Enter the minimum acceptable value for a track width - - - + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -587,13 +587,13 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 @@ -604,61 +604,61 @@ 0 Left 1 - + 1 - + 0 0 wxID_ANY Minimum via size: - + 0 - - + + 0 - + 1 m_ViaMinTitle 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -670,86 +670,86 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - + 0 - + 0 - + 1 m_SetViaMinSizeCtrl 1 - - + + public 1 - + Resizable 1 - - - + + + 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -761,13 +761,13 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 @@ -778,61 +778,61 @@ 0 Left 1 - + 1 - + 0 0 wxID_ANY unit - + 0 - - + + 0 - + 1 m_ViaMinUnit 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -844,78 +844,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY Minimum uVia size: - + 0 - - + + 0 - + 1 m_MicroViaMinTitle 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 Enter the minimum acceptable diameter for a micro via - - - + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -927,86 +927,86 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - + 0 - + 0 - + 1 m_SetMicroViakMinSizeCtrl 1 - - + + public 1 - + Resizable 1 - - - + + + 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1018,78 +1018,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY unit - + 0 - - + + 0 - + 1 m_MicroViaMinUnit 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 Enter the minimum acceptable diameter for a micro via - - - + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -1099,7 +1099,7 @@ wxEXPAND 1 - + bSizerOptSettings wxVERTICAL none @@ -1112,83 +1112,83 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY Refill all zones before performing DRC - + 0 - - + + 0 - + 1 m_cbRefillZones 1 - - + + protected 1 - + Resizable 1 - - + + ; forward_declare 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1200,83 +1200,83 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY Report all errors for tracks (slower) - + 0 - - + + 0 - + 1 m_cbReportAllTrackErrors 1 - - + + protected 1 - + Resizable 1 - - + + ; forward_declare 0 If selected, all DRC violations for tracks will be reported. This can be slow for complicated designs. If unselected, only the first DRC violation will be reported for each track connection. - + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1291,7 +1291,7 @@ 0 1 - + bSizerMessages wxVERTICAL none @@ -1304,78 +1304,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY Messages - + 0 - - + + 0 - + 1 m_messagesLabel 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -1387,86 +1387,86 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - + 0 - + 0 280,-1 1 m_Messages 1 - - + + protected 1 - + Resizable 1 - + wxHSCROLL|wxTE_MULTILINE|wxTE_READONLY - + 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1482,9 +1482,9 @@ 3 wxBOTH 1 - + 0 - + fgSizerRpt wxFLEX_GROWMODE_SPECIFIED none @@ -1499,83 +1499,83 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 ID_CHECKBOX_RPT_FILE Create report file: - + 0 - - + + 0 - + 1 m_CreateRptCtrl 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 Enable writing report to this file - + wxFILTER_NONE wxDefaultValidator - - - - - + + + + + OnReportCheckBoxClicked - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -1587,86 +1587,86 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - + 0 - + 0 180,-1 1 m_RptFilenameCtrl 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 Enter the report filename - + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + OnReportFilenameEdited - - - - + + + + @@ -1678,88 +1678,88 @@ 1 1 1 - - - - - - - - + + + + + + + + 1 0 1 - + 1 0 0 - + Dock 0 Left 1 - + 1 - - + + 0 0 - + ID_BUTTON_BROWSE_RPT_FILE Browse - + 0 - - + + 0 30,28 1 m_BrowseButton 1 - - + + protected 1 - + Resizable - + 1 - - wxBU_AUTODRAW + + ; forward_declare 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - + + + + OnButtonBrowseRptFileClick - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -1775,81 +1775,81 @@ 1 1 1 - - - - - - - - + + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 ID_NOTEBOOK1 - + 0 - - + + 0 640,280 1 m_Notebook 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + OnChangingMarkerList - - - - - - - - + + + + + + + + - + Problems / Markers (%d) 1 @@ -1857,77 +1857,77 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - - + + 0 - + 1 m_panelClearanceListBox 1 - - + + protected 1 - + Resizable 1 - + ; 0 - - - + + + wxTAB_TRAVERSAL - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - + bSizeClearanceBox wxVERTICAL none @@ -1940,90 +1940,90 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 - + 1 - + 1 0 Dock 0 Left 1 - + 1 ,90,90,-1,70,0 0 0 ID_CLEARANCE_LIST - + 0 - - + + 0 -1,-1 1 m_ClearanceListBox 1 - - + + public 1 - + Resizable 1 - - + + DRCLISTBOX; dialog_drclistbox.h 0 Left-click to center on problem marker. Right-click to highlight items. - + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - + + + + + + + + + + + OnLeftDClickClearance - - + + OnMarkerSelectionEvent - - - - - - - - - - + + + + + + + + + + OnRightUpClearance - - - + + + - + Unconnected Items (%d) 0 @@ -2031,77 +2031,77 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - - + + 0 - + 1 m_panelUnconnectedBox 1 - - + + private 1 - + Resizable 1 - - + + 0 - - - + + + wxTAB_TRAVERSAL - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - + bSizerUnconnectedBox wxVERTICAL none @@ -2114,83 +2114,83 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 - + 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 ID_UNCONNECTED_LIST - + 0 - - + + 0 - + 1 m_UnconnectedListBox 1 - - + + public 1 - + Resizable 1 - - + + DRCLISTBOX; 0 Left-click to center on unconnected pair. Right-click to highlight unconnected items. - + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - + + + + + + + + + + + OnLeftDClickUnconnected - - + + OnUnconnectedSelectionEvent - - - - - - - - - - + + + + + + + + + + OnRightUpUnconnected - - - + + + @@ -2203,7 +2203,7 @@ wxEXPAND|wxLEFT 0 - + m_sizerButtons wxHORIZONTAL protected @@ -2216,17 +2216,17 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 0 @@ -2234,65 +2234,65 @@ 0 Left 1 - + 1 - + 0 0 wxID_ANY Delete Marker - + 0 - - + + 0 - + 1 m_DeleteCurrentMarkerButton 1 - - + + protected 1 - + Resizable 1 - - + + ; forward_declare 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - + + + + OnDeleteOneClick - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -2304,17 +2304,17 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 0 @@ -2322,65 +2322,65 @@ 0 Left 1 - + 1 - + 0 0 wxID_ANY Delete All Markers - + 0 - - + + 0 - + 1 m_DeleteAllMarkersButton 1 - - + + protected 1 - + Resizable 1 - - + + ; forward_declare 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - + + + + OnDeleteAllClick - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -2396,17 +2396,17 @@ 1 0 0 - + m_sdbSizer1 protected OnListUnconnectedClick OnCancelClick - - - + + + OnStartdrcClick - - + +