kicad patches
Go to file
John Beard 8766b475c6 Sanitise incoming GAL config options using mapping tables
When reading config options from files, it's important to make sure the
value makes sense - the incoming data could be anything, and may have
incompatible values or be otherwise unreliable.

This introduces a simple way to define and use "mapping tables" which
can map between a "native" value, probably an enum (but not necessarily)
and some external value, for example the value written to file.

This provides a decoupling between the two values, as well as sanitising
inputs and outputs. This is important, as over time, if there isn't a
decoupled interface, changing options result in corrupt configs, or a
proliferation of obsolete enum values kept for compatibility.
2017-02-20 10:52:34 +01:00
3d-viewer Remove a #define used in a debug session, and now useless in panel_prev_model.* 2017-02-19 08:30:34 +01:00
CMakeModules Copy and adapt FindCairo.cmake for Pixman 2017-02-01 19:22:47 -05:00
Documentation Remove KICAD_USE_SCH_IO_MANAGER build option from docs and build info. 2017-02-10 11:58:15 -05:00
bitmap2component Add more "override" markers. 2016-09-25 13:59:41 -04:00
bitmaps_png Rename bitmaps to match the new pad tool naming 2017-02-07 23:08:09 +01:00
common Sanitise incoming GAL config options using mapping tables 2017-02-20 10:52:34 +01:00
cvpcb Code cleaning: remove pcbcommon.* which contains nothing really useful. The very few lines of code are moved to a better place. 2016-12-31 12:56:21 +01:00
demos Action plugins: handle undo/redo feature when running an action plugin. 2017-02-06 08:39:32 +01:00
eeschema Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
gerbview Gerbview: fix wrong html tag 2017-01-28 10:34:57 +01:00
helpers Extended fixes_alias description 2016-10-07 16:52:52 +02:00
include Sanitise incoming GAL config options using mapping tables 2017-02-20 10:52:34 +01:00
kicad kicad: tree_project_frame: fixup drawframe style. 2017-02-18 18:07:26 -05:00
lib_dxf Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
new Move the non shared file class_sch_screen.h to eeschema folder. Code cleaning. Remove some wxCHECK_VERSION tests now useless. 2015-07-29 20:06:45 +02:00
pagelayout_editor Add Help Menu item to open browser at kicad-pcb.org/contribute 2016-10-10 19:01:45 -04:00
patches Add wxwidgets patch for unicode pasteboard. 2016-09-17 13:20:00 -04:00
pcb_calculator Added const modifier to strings in pcb_calculator xpm files 2017-02-09 13:17:31 +01:00
pcbnew Add user control for grid minimum spacing in GAL 2017-02-20 10:52:34 +01:00
plugins Clean up warnings from exception handlers 2016-10-10 11:08:49 -04:00
polygon Remove check for undefined behaviour 2016-09-29 18:26:19 -04:00
potrace Update potrace library from 1.12 to 1.13, due to a bug fix in 1.13 2016-02-28 18:04:51 +01:00
qa Fix PAD_SHAPE_T value in a old python script 2016-11-25 14:52:34 +01:00
resources/linux/mime Add mime package for gerber and excellon files 2016-06-08 09:41:36 +02:00
scripting Pcbnew: Add ACTION_PLUGINS class. It allows loading python scripts in footprint editor and run them from the Tools/External Plugins menu 2017-01-23 13:27:49 +01:00
scripts Add python script for DDR3 length matching using T topology. 2016-09-28 11:02:05 -04:00
template Make pagelayout_default.kicad_wks match defaultPageLayout 2016-09-17 12:05:41 -04:00
tools Update tools/property_tree support so it builds again. 2017-02-02 12:58:03 -05:00
utils Fix coding style of 'sexpr' code in kicad2step 2017-02-02 08:58:35 +01:00
.gitignore gitignore: add .DS_Store 2017-01-23 09:08:22 -05:00
AUTHORS.txt Update credits in AUTHORS.txt and about dialog. 2015-11-29 14:02:42 -05:00
CMakeLists.txt Revamp component chooser and add footprint preview 2017-02-18 21:39:55 -05:00
CTestConfig.cmake See CHANGELOG.txt 2010-02-14 14:59:43 +00:00
Doxyfile Remove MaxUndoItems, make devel option DevelMaxUndoItems 2016-05-12 12:51:32 -04:00
INSTALL.txt Updated INSTALL.txt to list new dependncies. Fixed a dead link to documentation as well. 2016-09-04 18:34:29 -04:00
README.txt Update the REAMDE.txt to reflect the current structure 2016-09-16 16:43:19 -04:00
TODO.txt Modular KiCad Blueprint Milestone B), major portions: 2014-08-13 15:28:54 -05:00
copyright.h Update copyright header template to reflect current usage 2016-06-07 11:05:35 -04: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
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.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 (binary) installation instructions
TODO.txt          - Todo list (looks outdated)
uncrustify.cfg    - Uncrustify config file for uncrustify 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 polygon 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
qa                - Testcases using the python interface
resources         - Resources for freedesktop mime-types for linux
scripting         - SWIG Python scripting definitions
scripts           - Helper scripts for various things
template          - Project and pagelayout templates
tools             - Other miscellaneous helpers for testing
utils             - Small utils for kicad, e.g. IDF tools