Commit 535a28fa authored by jerryjacobs's avatar jerryjacobs

See CHANGELOG.txt

parent efa9c926
......@@ -4,6 +4,21 @@ KiCad ChangeLog 2010
Please add newer entries at the top, list the date and your name with
email address.
2010-Feb-14 UPDATE Jerry Jacobs <xor.gate.engineering[at]gmail[dot]com>
================================================================================
++ KiCad
Check if project is noname.pro so we don't get a error if kicad is first run.
Removed double separator in file menu.
Moved recent project to submenu in Open recent.
++ Common
Added CTest/CDash support file
Moved helper tool to helper subdirectory
++ OSX
Update compiling doc
2010-Feb-07 UPDATE Vesa Solonen <vesa.solonen@hut.fi>
================================================================================
++ all:
......
##
# KiCad CDash/CTest Support
# Run cmake, then ctest -D Experimental to push to cdash.
##
set(CTEST_PROJECT_NAME "KiCad")
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "my.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=KiCad")
set(CTEST_DROP_SITE_CDASH TRUE)
......@@ -107,4 +107,9 @@ CMAKE_CXX_FLAGS = -D__ASSERTMACROS__ fixes this :-)
configure:18585: gcc -isysroot /Developer/SDKs/MacOSX10.5.sdk/ -mmacosx-version-min=10.5 -o conftest -arch i386 -arch x86_64 -arch ppc -arch i386 -arch x86_64 -arch ppc conftest.c >&5
ld: warning: in /Developer/SDKs/MacOSX10.5.sdk//usr/lib/libSystem.dylib, missing required architecture ppc in file
Installing rosetta and xcode with all architectures fixes this "problem"
\ No newline at end of file
Installing rosetta and xcode with all architectures fixes this "problem"
ld: warning: in /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks//QuickTime.framework/QuickTime, missing required architecture x86_64 in file
You get this error because the QuickTime 10.6 framework is not build with 64bit support. This not a real issue for KiCad because we don't use it anyway.
KiCad README
============
Please have a look at the other files,
for specific documentation like Compiling, GUI translation see the Documentation folder.
For specific documentation like Compiling, GUI translation, Old changelogs see the
Documentation subfolder.
Files
-----
AUTHORS.txt - The authors, contributors, document writers and translators list
CHANGELOG.txt - This years changelog (see for previous years Documentation/changelogs)
CMakeList.txt - CMAKE build tool script
COPYRIGHT.txt - A copy of the GNU General Public License Version 2
Doxyfile - Doxygen preferences
INSTALL.txt - The release (binairy) installation instructions
TODO.txt - Todo list
uncrustify.cfg - Uncrustify code formatting tool preferences
version.txt - The current stable released version
AUTHORS.txt - The authors, contributors, document writers and translators list
CHANGELOG.txt - This years changelog (see for previous years Documentation/changelogs)
CMakeList.txt - CMAKE build tool script
COPYRIGHT.txt - A copy of the GNU General Public License Version 2
CTestConfig.txt - Support for CTest and CDash testing tools
Doxyfile - Doxygen preferences
INSTALL.txt - The release (binairy) installation instructions
TODO.txt - Todo list
uncrustify.cfg - Uncrustify code formatting tool preferences
version.txt - The current stable released version
Subdirectories
--------------
......@@ -27,6 +27,7 @@ demos - Some demo examples
Documentation - Misc documentation. Translating the GUI, old changelogs etcetera.
eeschema - Sourcecode of the schematic editor
gerbview - Sourcecode of the gerber viewer
helpers - Helper tools and utilities for development
include - Interfaces to the common library
internat - Internationalisation files
kicad - Sourcecode of the project manager
......@@ -38,8 +39,3 @@ scripts - Helper scripts. For building, sourcecode packaging, font settin
share - ?
template - Project template(s)
......@@ -5,12 +5,12 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
)
set(KICAD_SRCS
buildmnu.cpp
commandframe.cpp
files-io.cpp
kicad.cpp
kicad-python.cpp
mainframe.cpp
menubar.cpp
preferences.cpp
prjconfig.cpp
treeprj_datas.cpp
......
This diff is collapsed.
/*************************************************************/
/** prjconfig.cpp : load and save configuration (file *.pro) */
/*************************************************************/
/**
* @file prjconfig.cpp
* Load and save project configuration files (*.pro)
*/
#ifdef KICAD_PYTHON
#include <pyhandler.h>
#endif
......@@ -26,33 +25,41 @@ static const wxString BoardFileNameEntry( wxT( "BoardNm" ) );
void WinEDA_MainFrame::CreateNewProject( const wxString PrjFullFileName )
{
wxString tmp;
wxString filename;
wxFileName newProjectName = PrjFullFileName;
// Init default config filename
tmp = wxGetApp().FindLibraryPath( wxT( "kicad.pro" ) );
/* Init default config filename */
filename = wxGetApp().FindLibraryPath( wxT( "kicad.pro" ) );
if( !wxFileName::FileExists( tmp ) )
/* Check if file kicad.pro exist in template directory */
if( wxFileName::FileExists( filename ) )
{
DisplayInfoMessage( NULL, _( "Project template file <kicad.pro> not found " ) );
return;
wxCopyFile( filename, PrjFullFileName );
}
else
{
wxCopyFile( tmp, PrjFullFileName );
DisplayInfoMessage( NULL, _( "Project template file <kicad.pro> not found " ) );
return;
}
/* Init schematic filename */
m_SchematicRootFileName = wxFileName( newProjectName.GetName(),
SchematicFileExtension ).GetFullName();
/* Init pcb board filename */
m_BoardFileName = wxFileName( newProjectName.GetName(),
BoardFileExtension ).GetFullName();
/* Init project filename */
m_ProjectFileName = newProjectName;
/* Write settings to project file */
wxGetApp().WriteProjectConfig( PrjFullFileName, GeneralGroupName, NULL );
}
/**
* Loading a new project
*/
void WinEDA_MainFrame::OnLoadProject( wxCommandEvent& event )
{
int style;
......@@ -89,7 +96,10 @@ void WinEDA_MainFrame::OnLoadProject( wxCommandEvent& event )
wxLogDebug( wxT( "Loading Kicad project file: " ) +
m_ProjectFileName.GetFullPath() );
if( !m_ProjectFileName.FileExists() )
/* Check if project file exists and if it is not noname.pro */
wxString filename = m_ProjectFileName.GetFullName();
if( !m_ProjectFileName.FileExists() && !filename.IsSameAs(wxT("noname.pro")))
{
DisplayError( this, _( "Kicad project file <" ) +
m_ProjectFileName.GetFullPath() + _( "> not found" ) );
......@@ -135,3 +145,4 @@ void WinEDA_MainFrame::OnSaveProject( wxCommandEvent& event )
wxGetApp().WriteProjectConfig( m_ProjectFileName.GetFullPath(),
GeneralGroupName, NULL );
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment