bf80cc770e
Net codes are updated upon net list update. (BOARD::ReplaceNetlist()) Added in some places (mostly class_board.cpp) pad->SetNet() calls to synchronize net codes. On creation of NETINFO_LIST, the first NETINFO_ITEM is added (the unconnected items net). Removed COMPONENT_NET::m_netNumber, as it was not used anywhere. Added an assert to D_PAD::GetNetname(), checking if net code and net name is consistent for unconnected pads. Added an assert for NETINFO_LIST::AppendNet() to assure that appended nets are unique. It seems that at this point: - Updating net lists works fine. The only difference between the file ouput is that after changes it contains empty nets as well. - Nets are not saved in the lexical order. Still, net names and net codes are properly assigned to all items in the .kicad_pcb file. It is going to be addressed in the next commit. I believe it should not create any problems, as pads are sorted by their net names anyway (NETINFO_LIST::buildPadsFullList()) Performed tests: - Created a blank PCB, saved as pic_programmer.kicad_pcb (from demos folder). Updated net lists. .kicad_pcb file (comparing to the results from master branch) differ with net order (as mentioned before), net codes and timestamps. - Removed some of components from the above .kicad_pcb file and updated net lists. Modules reappeared. .kicad_pcb file differs in the same way as described above. - Trying to change a pad net name (via properties dialog) results in assert being fired. It is done on purpose (as there is a call to GetNetname() and net name and net code do not match). This will not happen after the next commit. - Prepared a simple project (starting with schematics). Imported net list, changed schematic, reimported net list - changes are applied. - Eagle & KiCad legacy boards seem to load without any problem. |
||
---|---|---|
3d-viewer | ||
CMakeModules | ||
Documentation | ||
bitmap2component | ||
bitmaps_png | ||
common | ||
cvpcb | ||
demos | ||
eeschema | ||
gerbview | ||
helpers/tools_to_build_newstroke-font | ||
include | ||
kicad | ||
lib_dxf | ||
new | ||
packaging | ||
pagelayout_editor | ||
patches | ||
pcb_calculator | ||
pcbnew | ||
polygon | ||
potrace | ||
resources | ||
scripting | ||
scripts | ||
template | ||
tools | ||
.bzrignore | ||
AUTHORS.txt | ||
CHANGELOG.txt | ||
CMakeLists.txt | ||
COPYRIGHT.txt | ||
CTestConfig.cmake | ||
Doxyfile | ||
HOW_TO_CONTRIBUTE.txt | ||
INSTALL.txt | ||
README.txt | ||
TODO.txt | ||
copyright.h | ||
license_for_documentation.txt | ||
notes_about_pcbnew_new_file_format.odt | ||
rules | ||
uncrustify.cfg |
README.txt
KiCad README ============ 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 CTestConfig.cmake - Support for CTest and CDash testing tools Doxyfile - Doxygen config file for Kicad INSTALL.txt - The release (binairy) installation instructions TODO.txt - Todo list uncrustify.cfg - Uncrustify config file for uncrustify sorces formatting tool Subdirectories -------------- 3d-viewer - Sourcecode of 3D viewer bitmaps - Menu and program icons bitmap2component - Sourcecode of a small application to create a footprint or a component from a B&W bitmap this component or footprint has just graphic items that show the bitmap CMakeModules - Modules for the CMAKE build tool common - Sourcecode of the common library (common functions shared across whole suite) cvpcb - Sourcecode of CvPCB, tool to link components with footprints sourcecode demos - Some demo examples Documentation - Compiling 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 packaging - Files for packaging on Windows and Mac OSX pcbnew - Sourcecode of the printed circuit board editor polygon - Sourcecode of the polygon library resources - Resources for installation, freedesktop mime-types for linux scripts - Helper scripts. For building, sourcecode packaging. template - Project template(s)