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
312c16b3
Commit
312c16b3
authored
May 12, 2011
by
Jerry Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor UI changes that affect OS X, see CHANGELOG.txt
parent
045ba78d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
51 additions
and
21 deletions
+51
-21
CHANGELOG.txt
CHANGELOG.txt
+16
-0
gestfich.cpp
common/gestfich.cpp
+11
-1
Info.plist
cvpcb/Info.plist
+1
-1
Info.plist
eeschema/Info.plist
+1
-1
Info.plist
gerbview/Info.plist
+14
-1
Info.plist
kicad/Info.plist
+1
-1
tree_project_frame.cpp
kicad/tree_project_frame.cpp
+5
-14
Info.plist
pcbnew/Info.plist
+1
-1
menubar_pcbframe.cpp
pcbnew/menubar_pcbframe.cpp
+1
-1
No files found.
CHANGELOG.txt
View file @
312c16b3
...
@@ -4,6 +4,22 @@ KiCad ChangeLog 2010
...
@@ -4,6 +4,22 @@ KiCad ChangeLog 2010
Please add newer entries at the top, list the date and your name with
Please add newer entries at the top, list the date and your name with
email address.
email address.
2011-Apr-12, UPDATE Jerry Jacobs <xor.gate.engineering@gmail.com>
================================================================================
Minor UI changes that affect OS X platform.
- Fix for opening the help contents
- Fix for opening files with the default editor
- Fix for opening PDF files
Solved all with the BSD open command, for other OS'es which have X11 and
utilities they can use the xdg-open command which I added to the pdf viewer tries
list.
Kicad projectview:
Remove not-existing files when a empty project is created, this confuses when
users try to open it. Show a entry that the project is empty instead of these
void files.
2011-Apr-6, UPDATE Jerry Jacobs <xor.gate.engineering@gmail.com>
2011-Apr-6, UPDATE Jerry Jacobs <xor.gate.engineering@gmail.com>
================================================================================
================================================================================
Cleanup of all the menubar code to have the same style, remove the C comments.
Cleanup of all the menubar code to have the same style, remove the C comments.
...
...
common/gestfich.cpp
View file @
312c16b3
...
@@ -540,7 +540,15 @@ wxString& WinEDA_App::GetEditorName()
...
@@ -540,7 +540,15 @@ wxString& WinEDA_App::GetEditorName()
// We get the preferred editor name from environment variable first.
// We get the preferred editor name from environment variable first.
if
(
editorname
.
IsEmpty
()
)
if
(
editorname
.
IsEmpty
()
)
{
{
wxGetEnv
(
wxT
(
"EDITOR"
),
&
editorname
);
// If there is no EDITOR variable set, try the desktop default
if
(
!
wxGetEnv
(
wxT
(
"EDITOR"
),
&
editorname
))
{
#ifdef __WXOSX__
editorname
=
"/usr/bin/open"
;
#elif __WXX11__
editorname
=
"/usr/bin/xdg-open"
;
#endif
}
}
}
if
(
editorname
.
IsEmpty
()
)
// We must get a preferred editor name
if
(
editorname
.
IsEmpty
()
)
// We must get a preferred editor name
{
{
...
@@ -622,6 +630,8 @@ bool OpenPDF( const wxString& file )
...
@@ -622,6 +630,8 @@ bool OpenPDF( const wxString& file )
wxT
(
"/usr/bin/konqueror"
),
wxT
(
"/usr/bin/konqueror"
),
wxT
(
"/usr/bin/kpdf"
),
wxT
(
"/usr/bin/kpdf"
),
wxT
(
"/usr/bin/xpdf"
),
wxT
(
"/usr/bin/xpdf"
),
wxT
(
"/usr/bin/open"
),
// BSD and OSX file & dir opener
wxT
(
"/usr/bin/xdg-open"
),
// Freedesktop file & dir opener
wxT
(
""
),
wxT
(
""
),
};
};
...
...
cvpcb/Info.plist
View file @
312c16b3
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
string
><
/string
>
<
string
><
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
cvpcb
<
/string
>
<
string
>
CvPCB
<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
...
...
eeschema/Info.plist
View file @
312c16b3
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
string
><
/string
>
<
string
><
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
ees
chema
<
/string
>
<
string
>
EES
chema
<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
...
...
gerbview/Info.plist
View file @
312c16b3
...
@@ -8,11 +8,24 @@
...
@@ -8,11 +8,24 @@
<
k
e
y
>
CFBundleTypeExtensions
<
/k
e
y
>
<
k
e
y
>
CFBundleTypeExtensions
<
/k
e
y
>
<
a
rr
a
y
>
<
a
rr
a
y
>
<
string
>
pen
<
/string
>
<
string
>
pen
<
/string
>
<
string
>
gba
<
/string
>
<
string
>
gbr
<
/string
>
<
string
>
gbr
<
/string
>
<
string
>
gbx
<
/string
>
<
string
>
gbx
<
/string
>
<
string
>
gbo
<
/string
>
<
string
>
gbl
<
/string
>
<
string
>
gtl
<
/string
>
<
string
>
gto
<
/string
>
<
string
>
gta
<
/string
>
<
string
>
gbp
<
/string
>
<
string
>
gbp
<
/string
>
<
string
>
gbs
<
/string
>
<
string
>
gts
<
/string
>
<
string
>
gtp
<
/string
>
<
string
>
gbx
<
/string
>
<
string
>
lgr
<
/string
>
<
string
>
lgr
<
/string
>
<
string
>
ger
<
/string
>
<
string
>
ger
<
/string
>
<
string
>
pho
<
/string
>
<
string
>
pho
<
/string
>
<
string
>
drl
<
/string
>
<
/
a
rr
a
y
>
<
/
a
rr
a
y
>
<
k
e
y
>
CFBundleTypeIconFile
<
/k
e
y
>
<
k
e
y
>
CFBundleTypeIconFile
<
/k
e
y
>
<
string
>
gerbview_doc.icns
<
/string
>
<
string
>
gerbview_doc.icns
<
/string
>
...
@@ -37,7 +50,7 @@
...
@@ -37,7 +50,7 @@
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
string
><
/string
>
<
string
><
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
gerbv
iew
<
/string
>
<
string
>
GerbV
iew
<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
...
...
kicad/Info.plist
View file @
312c16b3
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
string
><
/string
>
<
string
><
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
kic
ad
<
/string
>
<
string
>
KiC
ad
<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
...
...
kicad/tree_project_frame.cpp
View file @
312c16b3
...
@@ -698,19 +698,6 @@ void TREE_PROJECT_FRAME::ReCreateTreePrj()
...
@@ -698,19 +698,6 @@ void TREE_PROJECT_FRAME::ReCreateTreePrj()
wxEmptyString
,
wxEmptyString
,
m_TreeProject
)
);
m_TreeProject
)
);
fn
.
SetExt
(
SchematicFileExtension
);
// Add at least a .sch / .brd if not existing:
if
(
!
fn
.
FileExists
()
)
AddFile
(
fn
.
GetFullName
(),
m_root
);
fn
.
SetExt
(
PcbFileExtension
);
if
(
!
fn
.
FileExists
(
)
)
AddFile
(
fn
.
GetFullName
(),
m_root
);
fn
.
SetExt
(
ProjectFileExtension
);
// Now adding all current files if available
// Now adding all current files if available
if
(
prjOpened
)
if
(
prjOpened
)
{
{
...
@@ -726,7 +713,11 @@ void TREE_PROJECT_FRAME::ReCreateTreePrj()
...
@@ -726,7 +713,11 @@ void TREE_PROJECT_FRAME::ReCreateTreePrj()
cont
=
dir
.
GetNext
(
&
filename
);
cont
=
dir
.
GetNext
(
&
filename
);
}
}
}
}
else
{
m_TreeProject
->
AppendItem
(
m_root
,
"Empty project"
);
}
m_TreeProject
->
Expand
(
rootcellule
);
m_TreeProject
->
Expand
(
rootcellule
);
...
...
pcbnew/Info.plist
View file @
312c16b3
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleLongVersionString
<
/k
e
y
>
<
string
><
/string
>
<
string
><
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
pcbn
ew
<
/string
>
<
string
>
PCBN
ew
<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
...
...
pcbnew/menubar_pcbframe.cpp
View file @
312c16b3
...
@@ -613,7 +613,7 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
...
@@ -613,7 +613,7 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
// About
// About
item
=
new
wxMenuItem
(
helpMenu
,
wxID_ABOUT
,
item
=
new
wxMenuItem
(
helpMenu
,
wxID_ABOUT
,
_
(
"&About"
),
_
(
"&About
PCBNew
"
),
_
(
"About PCBnew printed circuit board designer"
));
_
(
"About PCBnew printed circuit board designer"
));
SET_BITMAP
(
info_xpm
);
SET_BITMAP
(
info_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
...
...
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