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
4e18b14f
Commit
4e18b14f
authored
Mar 29, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finishing dialog_freeroute_exchange.cpp changes to run freeroute.jar if found in kicad binaries.
Very minor other fix
parent
121494d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
class_netlist_object.cpp
eeschema/class_netlist_object.cpp
+3
-3
dialog_freeroute_exchange.cpp
pcbnew/dialogs/dialog_freeroute_exchange.cpp
+10
-2
No files found.
eeschema/class_netlist_object.cpp
View file @
4e18b14f
...
...
@@ -259,7 +259,7 @@ void NETLIST_OBJECT::ConvertBusToNetListItems( NETLIST_OBJECT_LIST& aNetListItem
i
=
busNumber
.
Find
(
'['
);
i
++
;
while
(
busNumber
[
i
]
!=
'.'
&&
i
<
busNumber
.
Len
()
)
while
(
i
<
busNumber
.
Len
()
&&
busNumber
[
i
]
!=
'.'
)
{
tmp
.
Append
(
busNumber
[
i
]
);
i
++
;
...
...
@@ -267,12 +267,12 @@ void NETLIST_OBJECT::ConvertBusToNetListItems( NETLIST_OBJECT_LIST& aNetListItem
tmp
.
ToLong
(
&
begin
);
while
(
busNumber
[
i
]
==
'.'
&&
i
<
busNumber
.
Len
()
)
while
(
i
<
busNumber
.
Len
()
&&
busNumber
[
i
]
==
'.'
)
i
++
;
tmp
.
Empty
();
while
(
busNumber
[
i
]
!=
']'
&&
i
<
busNumber
.
Len
()
)
while
(
i
<
busNumber
.
Len
()
&&
busNumber
[
i
]
!=
']'
)
{
tmp
.
Append
(
busNumber
[
i
]
);
i
++
;
...
...
pcbnew/dialogs/dialog_freeroute_exchange.cpp
View file @
4e18b14f
...
...
@@ -203,10 +203,14 @@ void DIALOG_FREEROUTE::OnLaunchButtonClick( wxCommandEvent& event )
#else
#warning Kicad needs wxWidgets >= 2.9.4. version 2.8 is only supported for testing purposes
#endif // wxCHECK_VERSION( 2, 9, 0 )
#endif // __WINDOWS__
if
(
m_freeRouterIsLocal
)
command
<<
wxT
(
"bin
\\
"
)
<<
javaCommand
;
#else // __WINDOWS__
if
(
m_freeRouterIsLocal
)
command
<<
javaCommand
;
#endif
else
// Wrap FullFileName in double quotes in case it has C:\Program Files in it.
// The space is interpreted as an argument separator.
...
...
@@ -254,7 +258,11 @@ wxString DIALOG_FREEROUTE::CmdRunFreeRouterLocal()
wxFileName
jarfileName
(
FindKicadFile
(
wxT
(
"freeroute.jar"
)
),
wxPATH_UNIX
);
wxString
command
=
wxT
(
"java -jar "
);
command
<<
wxChar
(
'"'
)
<<
jarfileName
.
GetFullPath
()
<<
wxT
(
"
\"
-de "
);
// add "freeroute.jar" to command line:
command
<<
wxChar
(
'"'
)
<<
jarfileName
.
GetFullPath
()
<<
wxChar
(
'"'
);
// add option to load the .dsn file
command
<<
wxT
(
" -de "
);
// add *.dsn full filename (quoted):
command
<<
wxChar
(
'"'
)
<<
fullFileName
<<
wxChar
(
'"'
);
return
command
;
...
...
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