Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
8d8bdc3e
Commit
8d8bdc3e
authored
Nov 23, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor updates
parent
bc5d9a75
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
239 additions
and
236 deletions
+239
-236
class_libentry.cpp
eeschema/class_libentry.cpp
+2
-2
class_library.cpp
eeschema/class_library.cpp
+3
-3
files.cpp
gerbview/files.cpp
+4
-4
tool_gerber.cpp
gerbview/tool_gerber.cpp
+6
-6
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+221
-218
dialog_freeroute_exchange.cpp
pcbnew/dialog_freeroute_exchange.cpp
+3
-3
No files found.
eeschema/class_libentry.cpp
View file @
8d8bdc3e
...
@@ -704,7 +704,7 @@ bool LIB_COMPONENT::LoadDrawEntries( FILE* f, char* line,
...
@@ -704,7 +704,7 @@ bool LIB_COMPONENT::LoadDrawEntries( FILE* f, char* line,
{
{
if
(
GetLine
(
f
,
line
,
lineNum
,
1024
)
==
NULL
)
if
(
GetLine
(
f
,
line
,
lineNum
,
1024
)
==
NULL
)
{
{
errorMsg
=
_
(
"file ended prematurely loading component draw element"
);
errorMsg
=
wxT
(
"file ended prematurely loading component draw element"
);
return
false
;
return
false
;
}
}
...
@@ -759,7 +759,7 @@ bool LIB_COMPONENT::LoadDrawEntries( FILE* f, char* line,
...
@@ -759,7 +759,7 @@ bool LIB_COMPONENT::LoadDrawEntries( FILE* f, char* line,
{
{
if
(
GetLine
(
f
,
line
,
lineNum
,
1024
)
==
NULL
)
if
(
GetLine
(
f
,
line
,
lineNum
,
1024
)
==
NULL
)
{
{
errorMsg
=
_
(
"file ended prematurely while attempting \
errorMsg
=
wxT
(
"file ended prematurely while attempting \
to flush to end of drawing section."
);
to flush to end of drawing section."
);
return
false
;
return
false
;
}
}
...
...
eeschema/class_library.cpp
View file @
8d8bdc3e
...
@@ -516,14 +516,14 @@ bool CMP_LIBRARY::Load( wxString& errMsg )
...
@@ -516,14 +516,14 @@ bool CMP_LIBRARY::Load( wxString& errMsg )
if
(
!
tkn
.
HasMoreTokens
()
)
if
(
!
tkn
.
HasMoreTokens
()
)
{
{
errMsg
=
_
(
"The file header is missing version and time stamp \
errMsg
=
wxT
(
information."
);
"The file header is missing version and time stamp
information."
);
return
false
;
return
false
;
}
}
if
(
tkn
.
GetNextToken
()
!=
wxT
(
"Version"
)
||
!
tkn
.
HasMoreTokens
()
)
if
(
tkn
.
GetNextToken
()
!=
wxT
(
"Version"
)
||
!
tkn
.
HasMoreTokens
()
)
{
{
errMsg
=
_
(
"The file header version information is invalid."
);
errMsg
=
wxT
(
"The file header version information is invalid."
);
return
false
;
return
false
;
}
}
...
...
gerbview/files.cpp
View file @
8d8bdc3e
...
@@ -38,7 +38,7 @@ void WinEDA_GerberFrame::Files_io( wxCommandEvent& event )
...
@@ -38,7 +38,7 @@ void WinEDA_GerberFrame::Files_io( wxCommandEvent& event )
switch
(
id
)
switch
(
id
)
{
{
case
ID_LOAD_FILE
:
case
ID_LOAD_FILE
:
if
(
Clear_Pcb
(
TRUE
)
)
if
(
Clear_Pcb
(
true
)
)
{
{
LoadOneGerberFile
(
wxEmptyString
,
0
);
LoadOneGerberFile
(
wxEmptyString
,
0
);
}
}
...
@@ -63,8 +63,8 @@ void WinEDA_GerberFrame::Files_io( wxCommandEvent& event )
...
@@ -63,8 +63,8 @@ void WinEDA_GerberFrame::Files_io( wxCommandEvent& event )
break
;
break
;
case
ID_NEW_BOARD
:
case
ID_NEW_BOARD
:
Clear_Pcb
(
TRUE
);
Clear_Pcb
(
true
);
Zoom_Automatique
(
FALSE
);
Zoom_Automatique
(
false
);
GetScreen
()
->
SetRefreshReq
();
GetScreen
()
->
SetRefreshReq
();
break
;
break
;
...
@@ -155,7 +155,7 @@ bool WinEDA_GerberFrame::LoadOneGerberFile( const wxString& FullFileName,
...
@@ -155,7 +155,7 @@ bool WinEDA_GerberFrame::LoadOneGerberFile( const wxString& FullFileName,
if
(
Read_GERBER_File
(
GetScreen
()
->
m_FileName
,
filename
.
GetFullPath
()
)
)
if
(
Read_GERBER_File
(
GetScreen
()
->
m_FileName
,
filename
.
GetFullPath
()
)
)
SetLastProject
(
GetScreen
()
->
m_FileName
);
SetLastProject
(
GetScreen
()
->
m_FileName
);
Zoom_Automatique
(
FALSE
);
Zoom_Automatique
(
false
);
GetScreen
()
->
SetRefreshReq
();
GetScreen
()
->
SetRefreshReq
();
g_SaveTime
=
time
(
NULL
);
g_SaveTime
=
time
(
NULL
);
...
...
gerbview/tool_gerber.cpp
View file @
8d8bdc3e
...
@@ -25,12 +25,12 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
...
@@ -25,12 +25,12 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
menuBar
=
new
wxMenuBar
();
menuBar
=
new
wxMenuBar
();
wxMenu
*
filesMenu
=
new
wxMenu
;
wxMenu
*
filesMenu
=
new
wxMenu
;
filesMenu
->
Append
(
ID_LOAD_FILE
,
_
(
"Clear and Load Gerber File"
),
filesMenu
->
Append
(
ID_LOAD_FILE
,
_
(
"Clear
All
and Load Gerber File"
),
_
(
"Clear all layers and Load
new Gerber file
"
),
_
(
"Clear all layers and Load
a new Gerber file on first layer
"
),
FALSE
);
FALSE
);
filesMenu
->
Append
(
ID_APPEND_FILE
,
_
(
"
Load Gerber File
"
),
filesMenu
->
Append
(
ID_APPEND_FILE
,
_
(
"
Append Gerber File to Current Layer
"
),
_
(
"
Load new Gerber file on
current layer"
),
_
(
"
Append a new Gerber file to the
current layer"
),
FALSE
);
FALSE
);
filesMenu
->
Append
(
ID_MENU_INC_LAYER_AND_APPEND_FILE
,
filesMenu
->
Append
(
ID_MENU_INC_LAYER_AND_APPEND_FILE
,
...
@@ -41,11 +41,11 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
...
@@ -41,11 +41,11 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
filesMenu
->
Append
(
ID_GERBVIEW_LOAD_DCODE_FILE
,
_
(
"Load DCodes"
),
filesMenu
->
Append
(
ID_GERBVIEW_LOAD_DCODE_FILE
,
_
(
"Load DCodes"
),
_
(
"Load D-Codes File"
),
FALSE
);
_
(
"Load D-Codes File"
),
FALSE
);
#if 0
#if 0
filesMenu->Append( ID_GERBVIEW_LOAD_DRILL_FILE, _( "Load
Drill
" ),
filesMenu->Append( ID_GERBVIEW_LOAD_DRILL_FILE, _( "Load
EXCELLON Drill File
" ),
_( "Load excellon drill file" ), FALSE );
_( "Load excellon drill file" ), FALSE );
#endif
#endif
filesMenu
->
Append
(
ID_NEW_BOARD
,
_
(
"&
New
"
),
filesMenu
->
Append
(
ID_NEW_BOARD
,
_
(
"&
Clear All
"
),
_
(
"Clear all layers"
),
FALSE
);
_
(
"Clear all layers"
),
FALSE
);
filesMenu
->
AppendSeparator
();
filesMenu
->
AppendSeparator
();
...
...
internat/fr/kicad.mo
View file @
8d8bdc3e
No preview for this file type
internat/fr/kicad.po
View file @
8d8bdc3e
This diff is collapsed.
Click to expand it.
pcbnew/dialog_freeroute_exchange.cpp
View file @
8d8bdc3e
...
@@ -36,14 +36,14 @@ DIALOG_FREEROUTE::DIALOG_FREEROUTE( WinEDA_PcbFrame* parent ):
...
@@ -36,14 +36,14 @@ DIALOG_FREEROUTE::DIALOG_FREEROUTE( WinEDA_PcbFrame* parent ):
{
{
m_Parent
=
parent
;
m_Parent
=
parent
;
MyInit
();
MyInit
();
Layout
();
GetSizer
()
->
SetSizeHints
(
this
);
Centre
();
Centre
();
}
}
/*!
/* Specific data initialisation
* Member initialisation
*/
*/
void
DIALOG_FREEROUTE
::
MyInit
()
void
DIALOG_FREEROUTE
::
MyInit
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment