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
1868bb8e
Commit
1868bb8e
authored
Jul 20, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved OSX compatibility and fixed possible crash in debug mode in Pcbnew
parent
527e7922
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
21 deletions
+49
-21
basicframe.cpp
common/basicframe.cpp
+5
-0
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+35
-14
class_board.cpp
pcbnew/class_board.cpp
+9
-7
No files found.
common/basicframe.cpp
View file @
1868bb8e
...
...
@@ -68,6 +68,11 @@ WinEDA_BasicFrame::~WinEDA_BasicFrame()
if
(
wxGetApp
().
m_HtmlCtrl
)
delete
wxGetApp
().
m_HtmlCtrl
;
wxGetApp
().
m_HtmlCtrl
=
NULL
;
/* This needed for OSX: avoids furter OnDraw processing after this destructor
* and before the native window is destroyed
*/
this
->
Freeze
(
);
}
...
...
internat/fr/kicad.mo
View file @
1868bb8e
No preview for this file type
internat/fr/kicad.po
View file @
1868bb8e
...
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-
17 20:36
+0100\n"
"PO-Revision-Date: 2009-07-
17 20:53
+0100\n"
"POT-Creation-Date: 2009-07-
20 08:07
+0100\n"
"PO-Revision-Date: 2009-07-
20 08:11
+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
...
...
@@ -2128,7 +2128,7 @@ msgstr "Lire les préférences de l'application"
#: pcbnew/menubarpcb.cpp:211
msgid "Design Rules"
msgstr "R
r
ègles de Conception"
msgstr "Règles de Conception"
#: pcbnew/menubarpcb.cpp:211
msgid "Open the design rules dialog editor"
...
...
@@ -4590,19 +4590,19 @@ msgstr ""
"Entrez un nom de fichier si vous ne voulez pas utiliser les noms par défaut\n"
"Ne peut être utilisé que pour imprimer la feuille courante"
#: pcbnew/class_netinfo_item.cpp:13
6
#: pcbnew/class_netinfo_item.cpp:13
7
msgid "Net Name"
msgstr "Nom Equipot"
#: pcbnew/class_netinfo_item.cpp:1
39
#: pcbnew/class_netinfo_item.cpp:1
40
msgid "Net Code"
msgstr "Net Code"
#: pcbnew/class_netinfo_item.cpp:16
8
#: pcbnew/class_netinfo_item.cpp:16
9
msgid "Vias"
msgstr "Vias"
#: pcbnew/class_netinfo_item.cpp:17
1
#: pcbnew/class_netinfo_item.cpp:17
2
msgid "Net Length"
msgstr "Long. Net"
...
...
@@ -5808,7 +5808,7 @@ msgstr "<< Selectionner Tout"
msgid "Select All >>"
msgstr "Selectionner Tout >>"
#: pcbnew/dialog_design_rules_base.cpp:20
9
#: pcbnew/dialog_design_rules_base.cpp:20
0
msgid "Net Classes"
msgstr "Classes d'Equipots."
...
...
@@ -5849,10 +5849,31 @@ msgstr "Change tous"
msgid "Browse Libs modules"
msgstr "Liste modules"
#: pcbnew/dialog_design_rules.cpp:319
#: pcbnew/dialog_design_rules.cpp:311
msgid "Errors detected, Abort"
msgstr "Erreurs detectées, Abandont"
#: pcbnew/dialog_design_rules.cpp:367
msgid "New Net Class Name:"
msgstr "Nouveau Nom de Classe d'Equipotentielle:"
#: pcbnew/dialog_design_rules.cpp:380
msgid "This NetClass is already existing, cannot add it; Aborted"
msgstr "Cette NetClass existe déjà, et ne peut être ajoutée; Abandon"
#: pcbnew/dialog_design_rules.cpp:561
#, c-format
msgid "<small>This layer name <b>%s</b> is already existing<br>"
msgstr "<small>Ce nom de couche <b>%s</b> existe déjà<br>"
#: pcbnew/dialog_design_rules.cpp:585
msgid "The <b>track</b> minimum size is bigger than the size<br>"
msgstr "La <b>track</b>taille minimum est plus grande que la taille<br>"
#: pcbnew/dialog_design_rules.cpp:599
msgid "The <b>via</b> minimum size is bigger than the size<br>"
msgstr "La taille minimum de<b>via</b>est plus grande que la taille<br>"
#: eeschema/libedit.cpp:35
msgid " Part: "
msgstr "Composant "
...
...
@@ -11051,20 +11072,20 @@ msgstr "Emplacement des Fichiers des Hotkeys"
msgid "Select hotkey config file location (home directory or kicad tree)"
msgstr "Sélection emplacement des fichiers de config. des hotkeys(\"home\" ou répertoire kicad)"
#: common/basicframe.cpp:2
19
#: common/basicframe.cpp:2
24
msgid " file <"
msgstr " Fichier <"
#: common/basicframe.cpp:2
19
#: common/basicframe.cpp:2
24
msgid "> was not found."
msgstr "> non trouvé."
#: common/basicframe.cpp:2
55
#: common/basicframe.cpp:2
60
#, c-format
msgid "Help file %s not found"
msgstr "Fichier d'aide %s non trouvé"
#: common/basicframe.cpp:26
3
#: common/basicframe.cpp:26
8
#, c-format
msgid "Help file %s could not be found."
msgstr "Fichier d'aide %s non trouvé."
...
...
@@ -11384,7 +11405,7 @@ msgstr "Options de Remplissage de Zone"
#: pcbnew/dialog_design_rules_base.h:94
msgid "Design Rules Editor"
msgstr "Editeur deRègles de Conception"
msgstr "Editeur de
Règles de Conception"
#: pcbnew/dialog_non_copper_zones_properties_base.h:59
msgid "Non Copper Zones Properties"
...
...
pcbnew/class_board.cpp
View file @
1868bb8e
...
...
@@ -823,14 +823,15 @@ SEARCH_RESULT BOARD::Visit( INSPECTOR* inspector, const void* testData,
*/
NETINFO_ITEM
*
BOARD
::
FindNet
(
int
anetcode
)
const
{
// the first valid netcode is 1.
// the first valid netcode is 1
and the last is m_NetInfo->GetNetsCount()-1
.
// zero is reserved for "no connection" and is not used.
if
(
anetcode
>
0
)
// NULL is returned for non valid netcodes
NETINFO_ITEM
*
item
=
m_NetInfo
->
GetNetItem
(
anetcode
);
if
(
item
)
// item can be NULL if not valid
{
wxASSERT
(
anetcode
==
m_NetInfo
->
GetNetItem
(
anetcode
)
->
GetNet
()
);
return
m_NetInfo
->
GetNetItem
(
anetcode
);
wxASSERT
(
anetcode
==
item
->
GetNet
()
);
}
return
NULL
;
return
item
;
}
...
...
@@ -848,8 +849,9 @@ NETINFO_ITEM* BOARD::FindNet( const wxString& aNetname ) const
{
for
(
unsigned
ii
=
1
;
ii
<
m_NetInfo
->
GetNetsCount
();
ii
++
)
{
if
(
m_NetInfo
->
GetNetItem
(
ii
)
->
GetNetname
()
==
aNetname
)
return
m_NetInfo
->
GetNetItem
(
ii
);
NETINFO_ITEM
*
item
=
m_NetInfo
->
GetNetItem
(
ii
);
if
(
item
&&
item
->
GetNetname
()
==
aNetname
)
return
item
;
}
}
return
NULL
;
...
...
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