Cleanup of trace logs from Simon Richter.

This commit is contained in:
Jeff Young 2018-04-17 17:25:19 +01:00
parent 45d1c19eb7
commit 3be876c388
9 changed files with 394 additions and 390 deletions

View File

@ -32,17 +32,19 @@
#include <wx/event.h>
#include <wx/arrstr.h>
#include <trace_helpers.h>
const wxChar* traceFindReplace = wxT( "KICAD_FIND_REPLACE" );
const wxChar* kicadTraceCoords = wxT( "KICAD_COORDS" );
const wxChar* kicadTraceKeyEvent = wxT( "KICAD_KEY_EVENTS" );
const wxChar* traceSchLibMem = wxT( "KICAD_SCH_LIB_MEM" );
const wxChar* traceFindItem = wxT( "KICAD_FIND_ITEM" );
const wxChar* traceSchLegacyPlugin = wxT( "KICAD_SCH_LEGACY_PLUGIN" );
const wxChar* traceGedaPcbPlugin = wxT( "KICAD_GEDA_PLUGIN" );
const wxChar* traceKicadPcbPlugin = wxT( "KICAD_PCB_PLUGIN" );
const wxChar* tracePrinting = wxT( "KICAD_PRINT" );
const wxChar* traceAutoSave = wxT( "KICAD_AUTOSAVE" );
const wxChar* const traceFindReplace = wxT( "KICAD_FIND_REPLACE" );
const wxChar* const kicadTraceCoords = wxT( "KICAD_COORDS" );
const wxChar* const kicadTraceKeyEvent = wxT( "KICAD_KEY_EVENTS" );
const wxChar* const traceSchLibMem = wxT( "KICAD_SCH_LIB_MEM" );
const wxChar* const traceFindItem = wxT( "KICAD_FIND_ITEM" );
const wxChar* const traceSchLegacyPlugin = wxT( "KICAD_SCH_LEGACY_PLUGIN" );
const wxChar* const traceGedaPcbPlugin = wxT( "KICAD_GEDA_PLUGIN" );
const wxChar* const traceKicadPcbPlugin = wxT( "KICAD_PCB_PLUGIN" );
const wxChar* const tracePrinting = wxT( "KICAD_PRINT" );
const wxChar* const traceAutoSave = wxT( "KICAD_AUTOSAVE" );
wxString dump( const wxArrayString& aArray )

View File

@ -47,6 +47,7 @@
#include <lib_pin.h>
#include <transform.h>
#include <sch_component.h>
#include <trace_helpers.h>
static const int pin_orientation_codes[] =

View File

@ -57,6 +57,8 @@
#include <eeschema_id.h> // for MAX_UNIT_COUNT_PER_PACKAGE definition
#include <trace_helpers.h>
#define NULL_STRING "_NONAME_"
/**

View File

@ -50,6 +50,7 @@
#include <sch_component.h>
#include <sch_field.h>
#include <kicad_string.h>
#include <trace_helpers.h>
SCH_FIELD::SCH_FIELD( const wxPoint& aPos, int aFieldId, SCH_COMPONENT* aParent, const wxString& aName ) :

View File

@ -44,16 +44,6 @@ class NETLIST_OBJECT;
class NETLIST_OBJECT_LIST;
/**
* @ingroup trace_env_vars
*
* Flag to enable finding schematic item debug output.
*
* @warning This generates a log of debug output.
*/
extern const wxString traceFindItem;
enum DANGLING_END_T {
UNKNOWN = 0,
WIRE_START_END,

View File

@ -41,6 +41,7 @@
#include <sch_sheet_path.h>
#include <sch_component.h>
#include <netlist_object.h>
#include <trace_helpers.h>
SCH_SHEET::SCH_SHEET( const wxPoint& pos ) :

View File

@ -40,6 +40,7 @@
#include <general.h>
#include <sch_sheet.h>
#include <kicad_string.h>
#include <trace_helpers.h>
SCH_SHEET_PIN::SCH_SHEET_PIN( SCH_SHEET* parent, const wxPoint& pos, const wxString& text ) :

View File

@ -43,6 +43,7 @@
#include <list_operations.h>
#include <sch_text.h>
#include <netlist_object.h>
#include <trace_helpers.h>
extern void IncrementLabelMember( wxString& name, int aIncrement );

View File

@ -43,51 +43,56 @@
///@{
/// \ingroup trace_env_vars
/**
* Flag to enable find debug tracing.
*/
extern const wxChar* const traceFindItem;
/**
* Flag to enable find and replace debug tracing.
*/
extern wxChar* traceFindReplace;
extern const wxChar* const traceFindReplace;
/**
* Flag to enable draw panel coordinate debug tracing.
*/
extern wxChar* kicadTraceCoords;
extern const wxChar* const kicadTraceCoords;
/**
* Flag to enable wxKeyEvent debug tracing.
*/
extern wxChar* kicadTraceKeyEvent;
extern const wxChar* const kicadTraceKeyEvent;
/**
* Flag to enable auto save feature debug tracing.
*/
extern wxChar* traceAutoSave;
extern const wxChar* const traceAutoSave;
/**
* Flag to enable schematic library memory deletion debug output.
*/
extern wxChar* traceSchLibMem;
extern const wxChar* const traceSchLibMem;
/**
* Flag to enable legacy schematic plugin debug output.
*/
extern wxChar* traceSchLegacyPlugin;
extern const wxChar* const traceSchLegacyPlugin;
/**
* Flag to enable GEDA PCB plugin debug output.
*/
extern wxChar* traceKicadPcbPlugin;
extern const wxChar* const traceKicadPcbPlugin;
/**
* Flag to enable GEDA PCB plugin debug output.
*/
extern wxChar* traceGedaPcbPlugin;
extern const wxChar* const traceGedaPcbPlugin;
/**
* Flag to enable print controller debug output.
*/
extern wxChar* tracePrinting;
extern const wxChar* const tracePrinting;
///@}