d62b47a0df
GetNet() refers to the net code stored in the NETINFO_ITEM. SetNet() finds an appropriate NETINFO_ITEM and uses it. Removing GetNet() & SetNet() (and the whole net code idea) requires too many changes in the code (~250 references to the mentioned functions). BOARD_CONNECTED_ITEMs by default get a pointer to NETINFO_ITEM that stores unconnected items. This requires for all BOARD_CONNECTED_ITEMs to have a parent (so BOARD* is accessible). The only orphaned item is BOARD_DESIGN_SETTINGS::m_Pad_Master, but it does not cause any issues so far. Items that do not have access to a BOARD (do not have set parents) and therefore cannot get net assigned, by default get const static NETINFO_LIST::ORPHANED. Performed tests: - loaded .kicad_pcb, KiCad legacy board, Eagle 6.0 board, P-CAD board - all ok - load a simple project, reload netlist after changing connections in eeschema - ok - save & reload a board - ok, but still contain empty nets - remove everything, restore with undo - ok - remove everything, reload netlist - ok - changing net names (all possibilites: empty->existing, empty->not existing, existing->empty, existing->not existing) - all ok - zones: when net is changed to a net that does not have any nodes besides the zone itself, it does not get filled |
||
---|---|---|
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)