kicad patches
Go to file
Wayne Stambaugh 7183e9f97e Make the new schematic and symbol library file formats the default.
This is a very large and potentially disruptive change so this will be an
unusually long and detailed commit message.

The new file formats are now the default in both the schematic and symbol
library editors.  Existing symbol libraries will be saved in their current
format until new features are added to library symbols.  Once this happens,
both the legacy schematic and symbol file formats will be no longer be
savable and existing libraries will have to be converted.  Saving to the
legacy file formats is still available for round robin testing and should
not be used for normal editing.

When loading the legacy schematic file, it is imperative that the schematic
library symbols are rescued and/or remapped to valid library identifiers.
Otherwise, there will be no way to link to the original library symbol and
the user will be required manually set the library identifier.  The cached
symbol will be saved in the schematic file so the last library symbol in
the cache will still be used but there will be no way to update it from the
original library.

The next save after loading a legacy schematic file will be converted to
the s-expression file format.  Schematics with hierarchical sheets will
automatically have all sheet file name extensions changed to .kicad_sym
and saved to the new format as well.

Appending schematics requires that the schematic to append has already been
converted to the new file format.  This is required to ensure that library
symbols are guaranteed to be valid for the appended schematic.

The schematic symbol library symbol link resolution has been moved out of
the SCH_COMPONENT object and move into the SCH_SCREEN object that owns the
symbol.  This was done to ensure that there is a single place where the
library symbol links get resolved rather than the dozen or so different
code paths that previously existed.  It also removes the necessity of the
SCH_COMPONENT object of requiring any knowledge of the symbol library table
and/or the cache library.

When opening an s-expression schematic, the legacy cache library is not
loaded so any library symbols not rescued cannot be loaded.  Broken library
symbol links will have to be manually resolved by adding the cache library
to the symbol library table and changing the links in the schematic symbol.

Now that the library symbols are embedded in the schematic file, the
SCH_SCREEN object maintains the list of library symbols for the schematic
automatically.  No external manipulation of this library cache should ever
occur.

ADDED: S-expression schematic and symbol library file formats.
2020-05-04 12:40:03 +00:00
.githooks Formatting: prefer a Git config variable to env var 2019-03-29 15:06:48 +00:00
3d-viewer Pcbnew: minor footprint properties dialog layout improvements. 2020-05-03 11:45:18 -04:00
CMakeModules Fix typo 2020-05-02 11:19:03 +00:00
Documentation Add a "when in Rome..." clause to the formatting doc. 2020-04-13 21:28:19 +01:00
bitmap2component Push tool framework base down into TOOL_HOLDER. 2020-03-24 19:00:25 +00:00
bitmaps_png Pcbnew, PANEL_SETUP_FEATURE_CONSTRAINTS: cosmetic enhancements: add a few icons. 2020-04-25 15:22:20 +02:00
common Re-factor the event whitelist stuff so that it doesn't promise what it can't deliver. 2020-05-03 20:56:32 +01:00
cvpcb More window sizing fixes 2020-04-27 00:14:12 +01:00
demos Demo update 2020-04-15 18:14:05 +02:00
eeschema Make the new schematic and symbol library file formats the default. 2020-05-04 12:40:03 +00:00
gerbview Actionize Gerber file commands. 2020-05-03 23:02:24 +01:00
helpers Correct cyrillic 'f' in newstroke 2020-02-12 14:08:02 -08:00
include Re-factor the event whitelist stuff so that it doesn't promise what it can't deliver. 2020-05-03 20:56:32 +01:00
kicad Make the new schematic and symbol library file formats the default. 2020-05-04 12:40:03 +00:00
libs Add distance reporting for copper item DRC tests. 2020-05-01 18:49:42 +01:00
new Comment-only changes 2020-01-10 16:43:01 -08:00
pagelayout_editor Page layout editor: Fix a outdated tool tip. 2020-04-30 10:01:11 +02:00
patches Remove macos patches. 2018-01-31 10:18:41 -05:00
pcb_calculator A few Coverity fixes. 2020-03-30 09:50:26 +02:00
pcbnew Pcbnew: fix not wanted changes in .kicad_pcb files when the board has no changes. 2020-05-04 14:01:35 +02:00
plugins Move library includes to main CMake file 2020-04-19 01:11:56 +01:00
qa Make the new schematic and symbol library file formats the default. 2020-05-04 12:40:03 +00:00
resources Fix macos plist version string generation 2019-12-26 12:42:25 +00:00
scripting Added an option to use a configurable number of cores for make 2020-04-06 12:51:16 +00:00
scripts Fix typos in comments. 2020-03-24 16:24:53 +00:00
template Implement a copper-to-edge-clearance setting. 2019-04-05 22:18:44 +01:00
thirdparty Use Record handling for parsing 2020-04-03 23:22:24 +00:00
tools Add basic netlist QA test 2020-04-19 19:13:24 -04:00
utils kicad2step: fix a bug when the board has no hole. 2020-04-22 10:43:28 +02:00
.clang-tidy Adding default clang-tidy parameters 2019-12-05 19:48:50 -08:00
.gitattributes Formatting: exclude generated files from git formatting hook 2019-03-29 15:06:48 +00:00
.gitignore Variable substitution framework. 2020-03-30 14:15:59 +01:00
.gitlab-ci.yml Shorten build artifact lifetime 2020-04-18 00:50:51 +01:00
AUTHORS.txt Add Ian to AUTHORS.txt 2019-11-30 19:52:32 +00:00
CMakeLists.txt Enable new warnings 2020-04-25 00:46:29 +01:00
CTestConfig.cmake See CHANGELOG.txt 2010-02-14 14:59:43 +00:00
Doxyfile Remove code help markdown files from doxygen 2020-02-05 10:29:47 +00:00
INSTALL.txt Document that OCE 0.18 or OCC 6.9.0 are required now 2020-04-16 13:04:18 +02:00
LICENSE.AGPLv3 Update license to AGPL due to TTL license. 2018-10-22 12:28:48 -04:00
LICENSE.BOOSTv1_0 Cleanup licensing 2019-02-11 08:35:23 -08:00
LICENSE.CC-BY-SA-4.0 Adding license text for CC-BY-SA-4.0 for completeness 2019-03-27 14:47:35 -04:00
LICENSE.GPLv3 Update license to AGPL due to TTL license. 2018-10-22 12:28:48 -04:00
LICENSE.ISC Cleanup licensing 2019-02-11 08:35:23 -08:00
LICENSE.MIT Adding MIT license 2019-06-09 08:43:43 -07:00
LICENSE.README Refactor all math into a new kimath library 2020-01-07 17:12:59 +00:00
README.txt Cleanup build script locations 2019-02-14 14:44:55 -08:00
_clang-format Align assignments using clang format 2019-12-27 16:12:01 +00:00
code-of-conduct.md Add Code of Conduct 2020-03-26 11:10:34 -05:00
copyright.h Bump copyright header year 2020-01-24 21:23:38 +00:00
uncrustify.cfg Fix case statement indentation setting for uncrustify. 2015-01-08 09:02:27 -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
CMakeList.txt     - Main CMAKE build tool script
copyright.h       - A very short copy of the GNU General Public License to be included in new source files
CTestConfig.cmake - Support for CTest and CDash testing tools
Doxyfile          - Doxygen config file for KiCad
INSTALL.txt       - The release (binary) installation instructions
TODO.txt          - Todo list (looks outdated)
uncrustify.cfg    - Uncrustify config file for uncrustify sources formatting tool
_clang-format     - clang config file for clang-format sources formatting tool

Subdirectories
--------------
3d-viewer         - Sourcecode of the 3D viewer
bitmap2component  - Sourcecode of the bitmap to pcb artwork converter
bitmaps_png       - Menu and program icons
CMakeModules      - Modules for the CMAKE build tool
common            - Sourcecode of the common library
cvpcb             - Sourcecode of the CvPCB tool
demos             - Some demo examples
Documentation     - Developer documentation. 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
kicad             - Sourcecode of the project manager
lib_dxf           - Sourcecode of the dxf reader/writer library
new               - Staging area for the new schematic library format
pagelayout_editor - Sourcecode of the pagelayout editor
patches           - Collection of patches for external dependencies
pcbnew            - Sourcecode of the printed circuit board editor
plugins           - Sourcecode of the new plugin concept
polygon           - Sourcecode of the polygon library
potrace           - Sourcecode of the potrace library, used in bitmap2component
qa                - Testcases using the python interface
resources         - Resources for freedesktop mime-types for linux
scripting         - SWIG Python scripting definitions and build scripts
scripts           - Example scripts for distribution with KiCad
template          - Project and pagelayout templates
tools             - Other miscellaneous helpers for testing
utils             - Small utils for kicad, e.g. IDF tools