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
95388c6e
Commit
95388c6e
authored
Jun 09, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema: fix memory leakage.
Pcbnew: fix a minor issue. Version update.
parent
f53e8971
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
105 additions
and
94 deletions
+105
-94
CMakeLists.txt
common/CMakeLists.txt
+0
-1
build_version.cpp
common/build_version.cpp
+1
-1
pic_programmer.pro
demos/pic_programmer/pic_programmer.pro
+77
-79
sch_sheet_pin.cpp
eeschema/sch_sheet_pin.cpp
+1
-1
schframe.cpp
eeschema/schframe.cpp
+7
-4
sch_item_struct.h
include/sch_item_struct.h
+1
-1
install.nsi
packaging/windows/nsis/install.nsi
+1
-1
drc_stuff.h
pcbnew/drc_stuff.h
+10
-0
editrack-part2.cpp
pcbnew/editrack-part2.cpp
+5
-4
version.txt
version.txt
+2
-2
No files found.
common/CMakeLists.txt
View file @
95388c6e
...
...
@@ -57,7 +57,6 @@ set(COMMON_SRCS
msgpanel.cpp
netlist_keywords.cpp
newstroke_font.cpp
../pcbnew/class_drc_item.cpp
projet_config.cpp
richio.cpp
selcolor.cpp
...
...
common/build_version.cpp
View file @
95388c6e
...
...
@@ -6,7 +6,7 @@
#endif
#ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION "(2011-0
5-31
)"
#define KICAD_BUILD_VERSION "(2011-0
6-08
)"
#endif
...
...
demos/pic_programmer/pic_programmer.pro
View file @
95388c6e
update
=
18
/
4
/
2006
-
09
:
31
:
05
last_client
=
pcbnew
[
general
]
version
=
1
RootSch
=
pic_programmer
.
sch
BoardNm
=
pic_programmer
.
brd
[
cvpcb
]
version
=
1
NetITyp
=
0
NetIExt
=.
net
PkgIExt
=.
pkg
NetType
=
0
[
cvpcb
/
libraries
]
EquName1
=
devcms
[
common
]
NetDir
=
[
pcbnew
]
version
=
1
PadDril
=
400
PadDimH
=
700
PadDimV
=
700
PadForm
=
1
PadMask
=
14745599
ViaDiam
=
650
ViaDril
=
250
Isol
=
100
Countlayer
=
2
Lpiste
=
250
RouteTo
=
15
RouteBo
=
0
TypeVia
=
3
Segm45
=
1
Racc45
=
1
Unite
=
0
SegFill
=
1
SegAffG
=
0
NewAffG
=
1
PadFill
=
1
PadAffG
=
1
PadSNum
=
1
ModAffC
=
1
ModAffT
=
1
PcbAffT
=
1
SgPcb45
=
1
TxtPcbV
=
800
TxtPcbH
=
600
TxtModV
=
600
TxtModH
=
600
TxtModW
=
120
HPGLnum
=
1
HPGdiam
=
15
HPGLSpd
=
20
HPGLrec
=
2
HPGLorg
=
0
GERBmin
=
15
VEgarde
=
100
DrawLar
=
150
EdgeLar
=
150
TxtLar
=
120
MSegLar
=
150
ForPlot
=
1
WpenSer
=
10
UserGrX
=
0
,
01
UserGrY
=
0
,
01
UserGrU
=
1
DivGrPc
=
1
TimeOut
=
600
MaxLnkS
=
3
ShowRat
=
0
ShowMRa
=
1
[
pcbnew
/
libraries
]
LibDir
=
LibName1
=
supports
LibName2
=
connect
LibName3
=
discret
LibName4
=
pin_array
LibName5
=
divers
LibName6
=
libcms
LibName7
=
display
update
=
09
/
06
/
2011
08
:
34
:
19
last_client
=
cvpcb
[
general
]
version
=
1
RootSch
=
pic_programmer
.
sch
BoardNm
=
pic_programmer
.
brd
[
common
]
NetDir
=
[
pcbnew
]
version
=
1
PadDril
=
400
PadDimH
=
700
PadDimV
=
700
PadForm
=
1
PadMask
=
14745599
ViaDiam
=
650
ViaDril
=
250
Isol
=
100
Countlayer
=
2
Lpiste
=
250
RouteTo
=
15
RouteBo
=
0
TypeVia
=
3
Segm45
=
1
Racc45
=
1
Unite
=
0
SegFill
=
1
SegAffG
=
0
NewAffG
=
1
PadFill
=
1
PadAffG
=
1
PadSNum
=
1
ModAffC
=
1
ModAffT
=
1
PcbAffT
=
1
SgPcb45
=
1
TxtPcbV
=
800
TxtPcbH
=
600
TxtModV
=
600
TxtModH
=
600
TxtModW
=
120
HPGLnum
=
1
HPGdiam
=
15
HPGLSpd
=
20
HPGLrec
=
2
HPGLorg
=
0
GERBmin
=
15
VEgarde
=
100
DrawLar
=
150
EdgeLar
=
150
TxtLar
=
120
MSegLar
=
150
ForPlot
=
1
WpenSer
=
10
UserGrX
=
0
,
01
UserGrY
=
0
,
01
UserGrU
=
1
DivGrPc
=
1
TimeOut
=
600
MaxLnkS
=
3
ShowRat
=
0
ShowMRa
=
1
[
pcbnew
/
libraries
]
LibName1
=
dip_sockets
LibName2
=
sockets
LibName3
=
connect
LibName4
=
discret
LibName5
=
pin_array
LibName6
=
divers
LibName7
=
libcms
LibName8
=
display
LibDir
=
[
cvpcb
]
version
=
1
NetIExt
=
net
[
cvpcb
/
libraries
]
EquName1
=
devcms
eeschema/sch_sheet_pin.cpp
View file @
95388c6e
...
...
@@ -304,7 +304,7 @@ bool SCH_SHEET_PIN::Load( LINE_READER& aLine, wxString& aErrorMsg )
static
const
char
delims
[]
=
"
\t
"
;
// Read coordinates.
D
(
printf
(
"line:
\"
%s
\"\n
"
,
line
);)
//
D( printf( "line: \"%s\"\n", line );)
cp
=
strtok
(
line
,
delims
);
...
...
eeschema/schframe.cpp
View file @
95388c6e
...
...
@@ -352,12 +352,12 @@ void SCH_EDIT_FRAME::CreateScreens()
void
SCH_EDIT_FRAME
::
SetUndoItem
(
const
SCH_ITEM
*
aItem
)
{
if
(
(
aItem
!=
NULL
)
&&
(
m_undoItem
!=
NULL
)
)
if
(
m_undoItem
!=
NULL
)
{
delete
m_undoItem
;
m_undoItem
=
NULL
;
}
m_undoItem
=
NULL
;
if
(
aItem
)
m_undoItem
=
aItem
->
Clone
();
...
...
@@ -366,13 +366,16 @@ void SCH_EDIT_FRAME::SetUndoItem( const SCH_ITEM* aItem )
void
SCH_EDIT_FRAME
::
SaveUndoItemInUndoList
(
SCH_ITEM
*
aItem
)
{
wxCHECK_RET
(
aItem
!=
NULL
&&
m_undoItem
!=
NULL
&&
(
aItem
->
Type
()
==
m_undoItem
->
Type
()
),
wxCHECK_RET
(
aItem
!=
NULL
,
wxT
(
"Cannot swap undo item structures. Bad programmer!."
)
);
wxCHECK_RET
(
m_undoItem
!=
NULL
,
wxT
(
"Cannot swap undo item structures. Bad programmer!."
)
);
wxCHECK_RET
(
aItem
->
Type
()
==
m_undoItem
->
Type
(),
wxT
(
"Cannot swap undo item structures. Bad programmer!."
)
);
aItem
->
SwapData
(
m_undoItem
);
SaveCopyInUndoList
(
aItem
,
UR_CHANGED
);
aItem
->
SwapData
(
m_undoItem
);
m_undoItem
=
NULL
;
}
...
...
include/sch_item_struct.h
View file @
95388c6e
...
...
@@ -91,7 +91,7 @@ public:
/**
* Function SwapDate
* swap the internal data structures \a aItem with the schematic item.
*
*
Obviously, aItem must have the same type than me
* @param aItem The item to swap the data structures with.
*/
virtual
void
SwapData
(
SCH_ITEM
*
aItem
);
...
...
packaging/windows/nsis/install.nsi
View file @
95388c6e
...
...
@@ -17,7 +17,7 @@
; General Product Description Definitions
!define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2011.0
5.31
"
!define PRODUCT_VERSION "2011.0
6.08
"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME ""
...
...
pcbnew/drc_stuff.h
View file @
95388c6e
...
...
@@ -237,6 +237,7 @@ private:
*/
MARKER_PCB
*
fillMarker
(
int
aErrorCode
,
const
wxString
&
aMessage
,
MARKER_PCB
*
fillMe
);
//-----<categorical group tests>-----------------------------------------
/**
...
...
@@ -447,6 +448,15 @@ public:
* dialog, and optionally prints a report of such.
*/
void
ListUnconnectedPads
();
/**
* @return a pointer to the current marker (last created marker
*/
MARKER_PCB
*
GetCurrentMarker
(
)
{
return
m_currentMarker
;
}
};
...
...
pcbnew/editrack-part2.cpp
View file @
95388c6e
...
...
@@ -207,10 +207,11 @@ bool PCB_EDIT_FRAME::Other_Layer_Route( TRACK* aTrack, wxDC* DC )
Delete_Segment
(
DC
,
g_CurrentTrackSegment
);
}
// use the form of SetCurItem() which does not write to the msg panel,
// SCREEN::SetCurItem(), so the DRC error remains on screen.
// PCB_EDIT_FRAME::SetCurItem() calls DisplayInfo().
GetScreen
()
->
SetCurItem
(
g_CurrentTrackSegment
);
SetCurItem
(
g_CurrentTrackSegment
,
false
);
// Refresh DRC diag, erased by previous calls
if
(
m_drc
->
GetCurrentMarker
()
)
m_drc
->
GetCurrentMarker
()
->
DisplayInfo
(
this
);
return
false
;
}
...
...
version.txt
View file @
95388c6e
release version:
2011
may 31
2011
june 08
files (.zip,.tgz):
kicad-2011-0
5-31
kicad-2011-0
6-08
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