kicad patches
Go to file
Maciej Suminski bf80cc770e Changed the way of looking up NETINFO_ITEM using net names (using boost::unordered_map). Added a hash function (wxString) for that. Introduced NETINFO_ITEM::GetNetItem( wxString ). BOARD::FindNet() uses the map.
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.
2014-01-10 18:04:07 +01:00
3d-viewer Make KiCad compile with minimal warnings against SVN HEAD of wxWidgets as of today. 2014-01-07 19:34:04 -06:00
CMakeModules Add KICAD_REPO_NAME to the about dialog and build_version.cpp 2014-01-08 08:47:39 -06:00
Documentation Remove assembly language files, and make building Boost optional. 2014-01-07 19:52:19 -06:00
bitmap2component [MacOSX] Adding better support for Retina Display (NSHighResolutionCapable) 2013-12-31 12:03:02 +01:00
bitmaps_png Initial release of pl_editor, the page layout and title block editor. 2013-07-19 20:27:22 +02:00
common Code cleanup: Pcbnew: move files relative to export functions to the new folder exporters 2014-01-08 20:29:46 +01:00
cvpcb [MacOSX] Adding better support for Retina Display (NSHighResolutionCapable) 2013-12-31 12:03:02 +01:00
demos Update demos. Fix pspice netlist issues when using ( and ) in net names ( parenthesis are replaced by underscore) . 2014-01-07 20:42:34 +01:00
eeschema Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
gerbview Make KiCad compile with minimal warnings against SVN HEAD of wxWidgets as of today. 2014-01-07 19:34:04 -06:00
helpers/tools_to_build_newstroke-font See CHANGELOG.txt 2010-02-14 14:59:43 +00:00
include Changed the way of looking up NETINFO_ITEM using net names (using boost::unordered_map). Added a hash function (wxString) for that. Introduced NETINFO_ITEM::GetNetItem( wxString ). BOARD::FindNet() uses the map. 2014-01-10 18:04:07 +01:00
kicad [MacOSX] Adding better support for Retina Display (NSHighResolutionCapable) 2013-12-31 12:03:02 +01:00
lib_dxf Pcbnew: very minor fixes and update: update clipper version. uncrustify polytri/* and fix some warning compil. 2014-01-03 18:39:28 +01:00
new Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
packaging Last (minor) fixes for the stable version 2013-03-13 20:06:46 +01:00
pagelayout_editor [MacOSX] Adding better support for Retina Display (NSHighResolutionCapable) 2013-12-31 12:03:02 +01:00
patches [MacOSX] fixes some corner case compiling on x86 in boost 2014-01-04 14:40:22 +01:00
pcb_calculator [MacOSX] Adding better support for Retina Display (NSHighResolutionCapable) 2013-12-31 12:03:02 +01:00
pcbnew Changed the way of looking up NETINFO_ITEM using net names (using boost::unordered_map). Added a hash function (wxString) for that. Introduced NETINFO_ITEM::GetNetItem( wxString ). BOARD::FindNet() uses the map. 2014-01-10 18:04:07 +01:00
polygon Update demos. Fix pspice netlist issues when using ( and ) in net names ( parenthesis are replaced by underscore) . 2014-01-07 20:42:34 +01:00
potrace 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
resources add mime type application/x-pcbnew-pcb, extend Desktop Exec to support a file to open on command line 2013-12-24 13:07:17 -06:00
scripting Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
scripts kicad-install.sh: abort on first failure. 2013-12-23 09:39:40 -06:00
template *) update scripts/kicad-install.sh to use Github plugin for system footprints. 2013-12-02 12:21:06 -06:00
tools *) Change FOOTPRINT_LIST::ReadFootprintFiles( FP_LIB_TABLE*, const wxString*) 2013-12-09 12:09:58 -06:00
.bzrignore Fix debug builds on wxWidgets 2.8. 2013-11-03 13:15:46 -05:00
AUTHORS.txt AUTHORS.txt LATIN1 to UTF-8 via: $ iconv -f LATIN1 -t UTF-8 AUTHORS.txt > /new/AUTHORS.txt 2013-07-28 09:47:13 -05:00
CHANGELOG.txt Eliminate many assumptions in Pcbnew's library manager, pertaining to locality of libraries and 2012-11-19 10:19:38 -06:00
CMakeLists.txt Add KICAD_REPO_NAME to the about dialog and build_version.cpp 2014-01-08 08:47:39 -06:00
COPYRIGHT.txt fix license text in COPYRIGHT.txt, remove duplicate Documentation/copyright.txt 2013-05-23 08:43:42 -05:00
CTestConfig.cmake See CHANGELOG.txt 2010-02-14 14:59:43 +00:00
Doxyfile Initial release of pl_editor, the page layout and title block editor. 2013-07-19 20:27:22 +02:00
HOW_TO_CONTRIBUTE.txt REMOVE: USE_PCBNEW_NANOMETERS by making it the only way to go in pcbnew, effectively removing the deci-mils build. 2013-08-06 18:21:40 -05:00
INSTALL.txt Remove wxUSE_UNICODE definition from CMakeLists.txt, because this define comes from wxWidgets and should not be made inside kicad 2013-10-11 18:24:43 +02:00
README.txt All: fix some issues in messages to translate. Remove fully outdated files 2013-04-10 09:23:20 +02:00
TODO.txt Hide m_galCanvas and m_galCanvasActive behind accessors. Fix DLIST concatonation API corner case. 2013-12-26 16:36:43 -06:00
copyright.h fix license text in COPYRIGHT.txt, remove duplicate Documentation/copyright.txt 2013-05-23 08:43:42 -05:00
license_for_documentation.txt 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
notes_about_pcbnew_new_file_format.odt Identifiers and Strings edits 2009-12-23 14:45:50 +00:00
rules 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
uncrustify.cfg enhanced beautification, better formatting, upgrade to 0.60 uncrustify.cfg 2013-08-26 15:15:00 -05:00

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)