Commit 535a28fa authored by jerryjacobs's avatar jerryjacobs

See CHANGELOG.txt

parent efa9c926
...@@ -4,6 +4,21 @@ KiCad ChangeLog 2010 ...@@ -4,6 +4,21 @@ 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.
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> 2010-Feb-07 UPDATE Vesa Solonen <vesa.solonen@hut.fi>
================================================================================ ================================================================================
++ all: ++ 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 :-) ...@@ -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 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 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" Installing rosetta and xcode with all architectures fixes this "problem"
\ No newline at end of file
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 KiCad README
============ ============
For specific documentation like Compiling, GUI translation, Old changelogs see the
Please have a look at the other files, Documentation subfolder.
for specific documentation like Compiling, GUI translation see the Documentation folder.
Files Files
----- -----
AUTHORS.txt - The authors, contributors, document writers and translators list AUTHORS.txt - The authors, contributors, document writers and translators list
CHANGELOG.txt - This years changelog (see for previous years Documentation/changelogs) CHANGELOG.txt - This years changelog (see for previous years Documentation/changelogs)
CMakeList.txt - CMAKE build tool script CMakeList.txt - CMAKE build tool script
COPYRIGHT.txt - A copy of the GNU General Public License Version 2 COPYRIGHT.txt - A copy of the GNU General Public License Version 2
Doxyfile - Doxygen preferences CTestConfig.txt - Support for CTest and CDash testing tools
INSTALL.txt - The release (binairy) installation instructions Doxyfile - Doxygen preferences
TODO.txt - Todo list INSTALL.txt - The release (binairy) installation instructions
uncrustify.cfg - Uncrustify code formatting tool preferences TODO.txt - Todo list
version.txt - The current stable released version uncrustify.cfg - Uncrustify code formatting tool preferences
version.txt - The current stable released version
Subdirectories Subdirectories
-------------- --------------
...@@ -27,6 +27,7 @@ demos - Some demo examples ...@@ -27,6 +27,7 @@ demos - Some demo examples
Documentation - Misc documentation. Translating the GUI, old changelogs etcetera. Documentation - Misc documentation. Translating the GUI, old changelogs etcetera.
eeschema - Sourcecode of the schematic editor eeschema - Sourcecode of the schematic editor
gerbview - Sourcecode of the gerber viewer gerbview - Sourcecode of the gerber viewer
helpers - Helper tools and utilities for development
include - Interfaces to the common library include - Interfaces to the common library
internat - Internationalisation files internat - Internationalisation files
kicad - Sourcecode of the project manager kicad - Sourcecode of the project manager
...@@ -38,8 +39,3 @@ scripts - Helper scripts. For building, sourcecode packaging, font settin ...@@ -38,8 +39,3 @@ scripts - Helper scripts. For building, sourcecode packaging, font settin
share - ? share - ?
template - Project template(s) template - Project template(s)
...@@ -5,12 +5,12 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ...@@ -5,12 +5,12 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
) )
set(KICAD_SRCS set(KICAD_SRCS
buildmnu.cpp
commandframe.cpp commandframe.cpp
files-io.cpp files-io.cpp
kicad.cpp kicad.cpp
kicad-python.cpp kicad-python.cpp
mainframe.cpp mainframe.cpp
menubar.cpp
preferences.cpp preferences.cpp
prjconfig.cpp prjconfig.cpp
treeprj_datas.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 #ifdef KICAD_PYTHON
#include <pyhandler.h> #include <pyhandler.h>
#endif #endif
...@@ -26,33 +25,41 @@ static const wxString BoardFileNameEntry( wxT( "BoardNm" ) ); ...@@ -26,33 +25,41 @@ static const wxString BoardFileNameEntry( wxT( "BoardNm" ) );
void WinEDA_MainFrame::CreateNewProject( const wxString PrjFullFileName ) void WinEDA_MainFrame::CreateNewProject( const wxString PrjFullFileName )
{ {
wxString tmp; wxString filename;
wxFileName newProjectName = PrjFullFileName; wxFileName newProjectName = PrjFullFileName;
// Init default config filename /* Init default config filename */
tmp = wxGetApp().FindLibraryPath( wxT( "kicad.pro" ) ); 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 " ) ); wxCopyFile( filename, PrjFullFileName );
return;
} }
else else
{ {
wxCopyFile( tmp, PrjFullFileName ); DisplayInfoMessage( NULL, _( "Project template file <kicad.pro> not found " ) );
return;
} }
/* Init schematic filename */
m_SchematicRootFileName = wxFileName( newProjectName.GetName(), m_SchematicRootFileName = wxFileName( newProjectName.GetName(),
SchematicFileExtension ).GetFullName(); SchematicFileExtension ).GetFullName();
/* Init pcb board filename */
m_BoardFileName = wxFileName( newProjectName.GetName(), m_BoardFileName = wxFileName( newProjectName.GetName(),
BoardFileExtension ).GetFullName(); BoardFileExtension ).GetFullName();
/* Init project filename */
m_ProjectFileName = newProjectName; m_ProjectFileName = newProjectName;
/* Write settings to project file */
wxGetApp().WriteProjectConfig( PrjFullFileName, GeneralGroupName, NULL ); wxGetApp().WriteProjectConfig( PrjFullFileName, GeneralGroupName, NULL );
} }
/**
* Loading a new project
*/
void WinEDA_MainFrame::OnLoadProject( wxCommandEvent& event ) void WinEDA_MainFrame::OnLoadProject( wxCommandEvent& event )
{ {
int style; int style;
...@@ -89,7 +96,10 @@ void WinEDA_MainFrame::OnLoadProject( wxCommandEvent& event ) ...@@ -89,7 +96,10 @@ void WinEDA_MainFrame::OnLoadProject( wxCommandEvent& event )
wxLogDebug( wxT( "Loading Kicad project file: " ) + wxLogDebug( wxT( "Loading Kicad project file: " ) +
m_ProjectFileName.GetFullPath() ); 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 <" ) + DisplayError( this, _( "Kicad project file <" ) +
m_ProjectFileName.GetFullPath() + _( "> not found" ) ); m_ProjectFileName.GetFullPath() + _( "> not found" ) );
...@@ -135,3 +145,4 @@ void WinEDA_MainFrame::OnSaveProject( wxCommandEvent& event ) ...@@ -135,3 +145,4 @@ void WinEDA_MainFrame::OnSaveProject( wxCommandEvent& event )
wxGetApp().WriteProjectConfig( m_ProjectFileName.GetFullPath(), wxGetApp().WriteProjectConfig( m_ProjectFileName.GetFullPath(),
GeneralGroupName, NULL ); 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