7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 00:30:01 +00:00

See my change_log.txt 2007-Sep-13 UPDATE

This commit is contained in:
dickelbeck 2007-09-13 11:55:46 +00:00
parent 0c77cf8085
commit 18d83b768c
141 changed files with 2866 additions and 2477 deletions
3d-viewer
change_log.txt
common
cvpcb
eeschema
gerbview
include
kicad
pcbnew
share
todo.txt

View File

@ -113,7 +113,7 @@ GLfloat ax,ay,az,bx,by,bz,nx,ny,nz,r;
/**********************************************/
GLuint Pcb3D_GLCanvas::DisplayCubeforTest(void)
GLuint Pcb3D_GLCanvas::DisplayCubeforTest()
/**********************************************/
{
GLuint gllist = glGenLists( 1 );
@ -158,7 +158,7 @@ GLuint gllist = glGenLists( 1 );
/**********************/
/* Constructor */
Info_3D_Visu::Info_3D_Visu(void)
Info_3D_Visu::Info_3D_Visu()
{
int ii;
m_Beginx = m_Beginy = 0.0; /* position of mouse */
@ -170,7 +170,7 @@ int ii;
}
Info_3D_Visu::~Info_3D_Visu(void)
Info_3D_Visu::~Info_3D_Visu()
{
}
@ -216,13 +216,13 @@ wxStaticText * msgtitle;
GridSizer->Add(m_ZValueCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5);
}
WinEDA_VertexCtrl::~WinEDA_VertexCtrl(void)
WinEDA_VertexCtrl::~WinEDA_VertexCtrl()
{
}
/*******************************************/
S3D_Vertex WinEDA_VertexCtrl::GetValue(void)
S3D_Vertex WinEDA_VertexCtrl::GetValue()
/*******************************************/
/* Retourne (en unites internes) les coordonnes entrees (en unites utilisateur)
*/

View File

@ -17,7 +17,7 @@
/****************************/
S3D_Vertex::S3D_Vertex(void)
S3D_Vertex::S3D_Vertex()
/****************************/
{
x = y = z = 0.0;
@ -38,7 +38,7 @@ S3D_Material::S3D_Material( Struct3D_Master * father, const wxString & name ):
}
/***********************************/
void S3D_Material::SetMaterial(void)
void S3D_Material::SetMaterial()
/***********************************/
{
glColorMaterial(GL_FRONT_AND_BACK,GL_AMBIENT_AND_DIFFUSE);
@ -77,7 +77,7 @@ Struct3D_Master::Struct3D_Master(EDA_BaseStruct * StructFather):
/***************************************/
Struct3D_Master:: ~Struct3D_Master(void)
Struct3D_Master:: ~Struct3D_Master()
/***************************************/
{
Struct3D_Shape * next;
@ -110,7 +110,7 @@ Struct3D_Shape::Struct3D_Shape(EDA_BaseStruct * StructFather):
/***************************************/
Struct3D_Shape:: ~Struct3D_Shape(void)
Struct3D_Shape:: ~Struct3D_Shape()
/***************************************/
{
delete m_3D_Coord;

View File

@ -72,7 +72,7 @@ void Pcb3D_GLCanvas::Redraw( bool finish )
}
/**********************************************/
GLuint Pcb3D_GLCanvas::CreateDrawGL_List(void)
GLuint Pcb3D_GLCanvas::CreateDrawGL_List()
/**********************************************/
/* Creation de la liste des elements a afficher
*/

View File

@ -95,7 +95,7 @@ void WinEDA3D_DrawFrame::OnCloseWindow(wxCloseEvent & Event)
/******************************************/
void WinEDA3D_DrawFrame::GetSettings(void)
void WinEDA3D_DrawFrame::GetSettings()
/******************************************/
{
wxString text;
@ -122,7 +122,7 @@ wxConfig * Config = m_ParentAppl->m_EDA_Config; // Current config used by appl
}
/*******************************************/
void WinEDA3D_DrawFrame::SaveSettings(void)
void WinEDA3D_DrawFrame::SaveSettings()
/*******************************************/
{
wxString text;
@ -200,7 +200,7 @@ void WinEDA3D_DrawFrame::OnRightClick(const wxPoint& MousePos, wxMenu * PopMenu)
}
/************************************/
int WinEDA3D_DrawFrame::BestZoom(void)
int WinEDA3D_DrawFrame::BestZoom()
/************************************/
// Retourne le meilleur zoom
{
@ -288,7 +288,7 @@ void WinEDA3D_DrawFrame::Process_Special_Functions(wxCommandEvent& event)
/*****************************************/
void WinEDA3D_DrawFrame::NewDisplay(void)
void WinEDA3D_DrawFrame::NewDisplay()
/*****************************************/
{
m_Canvas->ClearLists();
@ -299,7 +299,7 @@ void WinEDA3D_DrawFrame::NewDisplay(void)
/******************************************/
void WinEDA3D_DrawFrame::Set3DBgColor(void)
void WinEDA3D_DrawFrame::Set3DBgColor()
/******************************************/
/* called to set the background color of the 3D scene
*/

View File

@ -19,7 +19,7 @@
/***********************************/
int Struct3D_Master:: ReadData(void)
int Struct3D_Master:: ReadData()
/************************************/
{
char line[1024], *text;

View File

@ -21,7 +21,7 @@ class S3D_Color /* This is a 3D color (R, G, G) 3 floats range 0 to 1.0*/
public:
double m_Red, m_Green, m_Blue;
public:
S3D_Color(void)
S3D_Color()
{
m_Red = m_Green = m_Blue = 0;
}
@ -32,7 +32,7 @@ class S3D_Vertex /* This is a 3D coordinate (3 float numbers: x,y,z coordinates)
public:
double x, y, z;
public:
S3D_Vertex(void);
S3D_Vertex();
};
class S3D_Material: public EDA_BaseStruct /* openGL "material" data*/
@ -48,7 +48,7 @@ public:
public:
S3D_Material(Struct3D_Master * father, const wxString & name);
void SetMaterial(void);
void SetMaterial();
};
/*******************************************/
@ -67,10 +67,10 @@ public:
public:
Struct3D_Master(EDA_BaseStruct * StructFather);
~Struct3D_Master(void);
~Struct3D_Master();
void Copy(Struct3D_Master * pattern);
int ReadData(void);
int ReadData();
int ReadMaterial(FILE * file, int *LineNum);
int ReadChildren(FILE * file, int *LineNum);
int ReadShape(FILE * file, int *LineNum);
@ -94,7 +94,7 @@ public:
public:
Struct3D_Shape(EDA_BaseStruct * StructFather);
~Struct3D_Shape(void);
~Struct3D_Shape();
int ReadData(FILE * file, int *LineNum);
};
@ -123,9 +123,9 @@ public:
wxBoxSizer * BoxSizer,
int units, int internal_unit);
~WinEDA_VertexCtrl(void);
~WinEDA_VertexCtrl();
S3D_Vertex GetValue(void);
S3D_Vertex GetValue();
void SetValue(S3D_Vertex vertex);
void Enable(bool enbl);
void SetToolTip(const wxString & text);

View File

@ -61,8 +61,8 @@ public:
when scaled tey are between -1.0 and +1.0 */
float m_LayerZcoord[32];
public:
Info_3D_Visu(void);
~Info_3D_Visu(void);
Info_3D_Visu();
~Info_3D_Visu();
};
@ -78,9 +78,9 @@ private:
public:
Pcb3D_GLCanvas(WinEDA3D_DrawFrame *parent, const wxWindowID id = -1,
int* gl_attrib = NULL);
~Pcb3D_GLCanvas(void);
~Pcb3D_GLCanvas();
void ClearLists(void);
void ClearLists();
void OnPaint(wxPaintEvent& event);
void OnSize(wxSizeEvent& event);
@ -91,16 +91,16 @@ public:
void OnPopUpMenu(wxCommandEvent & event);
void TakeScreenshot(wxCommandEvent & event);
void SetView3D(int keycode);
void DisplayStatus(void);
void DisplayStatus();
void Redraw(bool finish = false);
GLuint DisplayCubeforTest(void);
GLuint DisplayCubeforTest();
void OnEnterWindow( wxMouseEvent& event );
void Render();
GLuint CreateDrawGL_List(void);
void InitGL(void);
void SetLights(void);
GLuint CreateDrawGL_List();
void InitGL();
void SetLights();
void Draw3D_Track(TRACK * track);
void Draw3D_Via(SEGVIA * via);
void Draw3D_DrawSegment(DRAWSEGMENT * segment);
@ -132,23 +132,23 @@ public:
void Exit3DFrame(wxCommandEvent& event);
void OnCloseWindow(wxCloseEvent & Event);
void ReCreateMenuBar(void);
void ReCreateHToolbar(void);
void ReCreateVToolbar(void);
void SetToolbars(void);
void GetSettings(void);
void SaveSettings(void);
void ReCreateMenuBar();
void ReCreateHToolbar();
void ReCreateVToolbar();
void SetToolbars();
void GetSettings();
void SaveSettings();
void OnLeftClick(wxDC * DC, const wxPoint& MousePos);
void OnRightClick(const wxPoint& MousePos, wxMenu * PopMenu);
void OnKeyEvent(wxKeyEvent& event);
int BestZoom(void); // Retourne le meilleur zoom
int BestZoom(); // Retourne le meilleur zoom
void RedrawActiveWindow(wxDC * DC, bool EraseBg);
void Process_Special_Functions(wxCommandEvent& event);
void Process_Zoom(wxCommandEvent& event);
void NewDisplay(void);
void Set3DBgColor(void);
void NewDisplay();
void Set3DBgColor();
DECLARE_EVENT_TABLE()
};

View File

@ -4,6 +4,17 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2007-Sep-13 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
+ kicad
* Inverted the logic associated with filters. Filters now enable a file
in the project manager. The default is to ignore all files.
* The filter for *.sch files is smarter, in that it looks to display only
top level *.sch files, rather than all *.sch files.
+ Others
More beautification
2007-sept-13 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+ all

View File

@ -48,7 +48,7 @@ wxSize minsize;
}
/******************************************/
WinEDA_BasicFrame::~WinEDA_BasicFrame(void)
WinEDA_BasicFrame::~WinEDA_BasicFrame()
/******************************************/
{
if ( m_Parent->m_HtmlCtrl ) delete m_Parent->m_HtmlCtrl;
@ -56,7 +56,7 @@ WinEDA_BasicFrame::~WinEDA_BasicFrame(void)
}
/********************************************/
void WinEDA_BasicFrame::ReCreateMenuBar(void)
void WinEDA_BasicFrame::ReCreateMenuBar()
/********************************************/
// Virtual function
{
@ -64,7 +64,7 @@ void WinEDA_BasicFrame::ReCreateMenuBar(void)
/*********************************************/
void WinEDA_BasicFrame::GetSettings(void)
void WinEDA_BasicFrame::GetSettings()
/*********************************************/
{
wxString text;
@ -94,7 +94,7 @@ int Ypos_min;
/*****************************************/
void WinEDA_BasicFrame::SaveSettings(void)
void WinEDA_BasicFrame::SaveSettings()
/*****************************************/
{
wxString text;

View File

@ -27,7 +27,7 @@ int PlotOrientOptions, etat_plume;
static Ki_PageDescr * SheetPS;
/*************************/
void ForcePenReinit(void)
void ForcePenReinit()
/*************************/
/* set the flag g_CurrentPenWidth to -1 in order to force a pen width redefinition
for the next draw command

View File

@ -133,13 +133,13 @@ int ii;
}
WinEDAListBox:: ~WinEDAListBox(void)
WinEDAListBox:: ~WinEDAListBox()
{
}
/******************************************/
void WinEDAListBox::MoveMouseToOrigin(void)
void WinEDAListBox::MoveMouseToOrigin()
/******************************************/
{
int x, y, w, h;
@ -153,7 +153,7 @@ int orgy = m_List->GetRect().GetTop();
}
/*********************************************/
wxString WinEDAListBox::GetTextSelection(void)
wxString WinEDAListBox::GetTextSelection()
/*********************************************/
{
wxString text = m_List->GetStringSelection();

View File

@ -22,7 +22,7 @@
#include "common.h"
/*****************************************/
void WinEDA_App::ReadPdfBrowserInfos(void)
void WinEDA_App::ReadPdfBrowserInfos()
/*****************************************/
/* Read from Common config the Pdf browser choice
*/
@ -36,7 +36,7 @@ void WinEDA_App::ReadPdfBrowserInfos(void)
}
/*****************************************/
void WinEDA_App::WritePdfBrowserInfos(void)
void WinEDA_App::WritePdfBrowserInfos()
/*****************************************/
/* Write into Common config the Pdf browser choice
*/

View File

@ -56,7 +56,7 @@
/* Constructeur de WinEDA_App */
/*****************************/
WinEDA_App::WinEDA_App(void)
WinEDA_App::WinEDA_App()
{
m_Checker = NULL;
m_MainFrame = NULL;
@ -84,7 +84,7 @@ WinEDA_App::WinEDA_App(void)
/* Destructeur de WinEDA_App */
/*****************************/
WinEDA_App::~WinEDA_App(void)
WinEDA_App::~WinEDA_App()
{
SaveSettings();
@ -166,7 +166,7 @@ bool succes = SetLanguage(TRUE);
/*****************************************/
void WinEDA_App::InitOnLineHelp(void)
void WinEDA_App::InitOnLineHelp()
/*****************************************/
/* Init On Line Help
*/
@ -187,7 +187,7 @@ wxString fullfilename = FindKicadHelpPath();
/*******************************/
bool WinEDA_App::SetBinDir(void)
bool WinEDA_App::SetBinDir()
/*******************************/
/*
Analyse la ligne de commande pour retrouver le chemin de l'executable
@ -236,7 +236,7 @@ int ii;
/*********************************/
void WinEDA_App::GetSettings(void)
void WinEDA_App::GetSettings()
/*********************************/
/* Lit les infos utiles sauvees lors de la derniere utilisation du logiciel
*/
@ -305,7 +305,7 @@ unsigned ii;
/**********************************/
void WinEDA_App::SaveSettings(void)
void WinEDA_App::SaveSettings()
/**********************************/
{
unsigned int ii;
@ -583,7 +583,7 @@ wxMenuItem * item;
}
int WinEDA_App::OnRun(void)
int WinEDA_App::OnRun()
/* Run init scripts */
{
#ifdef KICAD_PYTHON

View File

@ -43,7 +43,7 @@ double value;
}
/**********************/
wxString GenDate(void)
wxString GenDate()
/**********************/
/* Retourne la chaine de caractere donnant la date */
{

View File

@ -46,7 +46,7 @@ public:
WinEDA_SelectCmp(WinEDA_DrawFrame *parent, const wxPoint& framepos,
wxArrayString & HistoryList, const wxString & Title,
bool show_extra_tool );
~WinEDA_SelectCmp(void) {};
~WinEDA_SelectCmp() {};
private:
void Accept(wxCommandEvent& event);

View File

@ -34,7 +34,7 @@ WinEDA_MsgPanel::WinEDA_MsgPanel(WinEDA_DrawFrame *parent, int id,
WinEDA_MsgPanel::~WinEDA_MsgPanel(void)
WinEDA_MsgPanel::~WinEDA_MsgPanel()
{
}
@ -110,7 +110,7 @@ wxClientDC dc(this);
}
/****************************************/
void WinEDA_MsgPanel::EraseMsgBox(void)
void WinEDA_MsgPanel::EraseMsgBox()
/****************************************/
/* Effacement de la fenetre d'affichage des messages de bas d'ecran
*/

View File

@ -55,7 +55,7 @@ static void RegisterCb( str objKey, object callback )
static void UnRegisterCb( str objKey, object callback )
{ PyHandler::GetInstance()->UnRegisterCallback( PyHandler::MakeStr(objKey), callback ); }
static void init_base_utils(void)
static void init_base_utils()
{
def ( "ChooseFile", &ChooseFile );
def ( "RegisterCallback", &RegisterCb );

View File

@ -30,7 +30,7 @@ public:
// Constructor and destructor
WinEDA_SelColorFrame(wxWindow *parent,
const wxPoint& framepos, int OldColor);
~WinEDA_SelColorFrame(void) {};
~WinEDA_SelColorFrame() {};
private:
void OnCancel(wxCommandEvent& event);

View File

@ -96,7 +96,7 @@ struct tm * Date;
}
/*******************************/
wxString DateAndTime(void)
wxString DateAndTime()
/*******************************/
/* Retourne la chaine de caractere donnant date+heure */
{

View File

@ -279,7 +279,7 @@ wxIcon WinEDA_PrintSVGFrame::GetIconResource( const wxString& name )
/******************************************************/
wxString WinEDA_PrintSVGFrame::ReturnFullFileName(void)
wxString WinEDA_PrintSVGFrame::ReturnFullFileName()
/******************************************************/
{
wxString name, ext;

View File

@ -122,7 +122,7 @@ public:
void PrintSVGDoc(wxCommandEvent& event);
bool DrawPage(const wxString & FullFileName);
void SetPenWidth(wxSpinEvent& event);
wxString ReturnFullFileName(void);
wxString ReturnFullFileName();
////@begin WinEDA_PrintSVGFrame member variables
wxSpinCtrl* m_ButtPenWidth;

View File

@ -31,7 +31,7 @@ WinEDA_EnterText::WinEDA_EnterText(wxWindow *parent, const wxString &Title,
/****************************************/
wxString WinEDA_EnterText::GetValue(void)
wxString WinEDA_EnterText::GetValue()
/****************************************/
{
m_Modify = m_FrameText->IsModified();
@ -101,7 +101,7 @@ WinEDA_GraphicTextCtrl::WinEDA_GraphicTextCtrl(wxWindow *parent,
}
WinEDA_GraphicTextCtrl::~WinEDA_GraphicTextCtrl(void)
WinEDA_GraphicTextCtrl::~WinEDA_GraphicTextCtrl()
{
delete m_FrameText;
delete m_Title;
@ -126,13 +126,13 @@ void WinEDA_GraphicTextCtrl::SetValue(int value)
}
wxString WinEDA_GraphicTextCtrl::GetText(void)
wxString WinEDA_GraphicTextCtrl::GetText()
{
wxString text = m_FrameText->GetValue();
return text;
}
int WinEDA_GraphicTextCtrl::GetTextSize(void)
int WinEDA_GraphicTextCtrl::GetTextSize()
{
int textsize;
double dtmp;
@ -188,7 +188,7 @@ wxString text;
}
WinEDA_PositionCtrl::~WinEDA_PositionCtrl(void)
WinEDA_PositionCtrl::~WinEDA_PositionCtrl()
{
delete m_TextX;
delete m_TextY;
@ -197,7 +197,7 @@ WinEDA_PositionCtrl::~WinEDA_PositionCtrl(void)
}
/******************************************/
wxPoint WinEDA_PositionCtrl::GetValue(void)
wxPoint WinEDA_PositionCtrl::GetValue()
/******************************************/
/* Retourne (en unites internes) les coordonnes entrees (en unites utilisateur)
*/
@ -254,7 +254,7 @@ WinEDA_SizeCtrl::WinEDA_SizeCtrl(wxWindow *parent, const wxString & title,
}
/*************************************/
wxSize WinEDA_SizeCtrl::GetValue(void)
wxSize WinEDA_SizeCtrl::GetValue()
/*************************************/
{
wxPoint pos = WinEDA_PositionCtrl::GetValue();
@ -293,14 +293,14 @@ wxString stringvalue = ReturnStringFromValue(m_Units, m_Value,m_Internal_Unit);
BoxSizer->Add(m_ValueCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxBOTTOM, 5);
}
WinEDA_ValueCtrl::~WinEDA_ValueCtrl(void)
WinEDA_ValueCtrl::~WinEDA_ValueCtrl()
{
delete m_ValueCtrl;
delete m_Text;
}
/***********************************/
int WinEDA_ValueCtrl::GetValue(void)
int WinEDA_ValueCtrl::GetValue()
/***********************************/
{
int coord;
@ -347,13 +347,13 @@ wxString label = title;
BoxSizer->Add(m_ValueCtrl, 0, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5);
}
WinEDA_DFloatValueCtrl::~WinEDA_DFloatValueCtrl(void)
WinEDA_DFloatValueCtrl::~WinEDA_DFloatValueCtrl()
{
delete m_ValueCtrl;
delete m_Text;
}
double WinEDA_DFloatValueCtrl::GetValue(void)
double WinEDA_DFloatValueCtrl::GetValue()
{
double coord = 0;

View File

@ -22,7 +22,7 @@ public:
wxString m_LibName;
wxString m_Library;
AUTOMODULE(void) { m_Type = 0; Pnext = NULL; }
AUTOMODULE() { m_Type = 0; Pnext = NULL; }
} ;

View File

@ -20,7 +20,7 @@
#include "cvpcb.h"
STORECMP::STORECMP(void)
STORECMP::STORECMP()
{
Pnext = Pback = NULL;
m_Type = STRUCT_COMPONENT;
@ -29,7 +29,7 @@ STORECMP::STORECMP(void)
m_Multi = 0;
}
STORECMP::~STORECMP(void)
STORECMP::~STORECMP()
{
STOREPIN * Pin, * NextPin;
@ -41,7 +41,7 @@ STOREPIN * Pin, * NextPin;
STOREMOD::STOREMOD(void)
STOREMOD::STOREMOD()
{
Pnext = Pback = NULL;
m_Type = STRUCT_MODULE;
@ -49,7 +49,7 @@ STOREMOD::STOREMOD(void)
}
STOREPIN::STOREPIN(void)
STOREPIN::STOREPIN()
{
m_Type = STRUCT_PIN; /* Type de la structure */
Pnext = NULL; /* Chainage avant */

View File

@ -82,7 +82,7 @@ int dims[3] = { -1, -1, 250};
/******************************************/
WinEDA_CvpcbFrame::~WinEDA_CvpcbFrame(void)
WinEDA_CvpcbFrame::~WinEDA_CvpcbFrame()
/******************************************/
{
if( m_Parent->m_EDA_Config )

Some files were not shown because too many files have changed in this diff Show More