kicad patches
Go to file
John Beard 272c045c37 Format: Default to switch cases on separate lines by default
Currently, the format enforces single lines when possible, but does
not enforce readable column-based alignment (and, moreover, *removes*
such manually added alignment:

    switch( m_orientation )
    {
    case PIN_RIGHT: m_orientation = PIN_UP; break;
    case PIN_UP: m_orientation = PIN_LEFT; break;
    }

Change this to multi-line by default:

    switch( m_orientation )
    {
    case PIN_RIGHT:
        m_orientation = PIN_UP;
        break;
    case PIN_UP:
        m_orientation = PIN_LEFT;
        break;
    }

If the developer wishes for column-aligned single-line cases, this
is permitted, but much be done manually:

    switch( m_orientation )
    {
    case PIN_RIGHT: m_orientation = PIN_DOWN;  break;
    case PIN_UP:    m_orientation = PIN_RIGHT; break;
    }

CHANGE: the _clang-format file to reflect this, and add note about
manual override in the dev docs.
2019-05-07 09:49:05 +01:00
.githooks Formatting: prefer a Git config variable to env var 2019-03-29 15:06:48 +00:00
3d-viewer 3d-viewer: Refresh raytracing on rotate 2019-04-09 15:01:06 -07:00
CMakeModules KiCadVersion.cmake: fix Kicad version id to 6.0.0, used when git is not available to calculate this version id 2019-05-02 09:10:57 +02:00
Documentation Format: Default to switch cases on separate lines by default 2019-05-07 09:49:05 +01:00
bitmap2component bitmap2component: minor enhancements and fixes. 2019-04-01 12:51:27 +02:00
bitmaps_png pcbnew: Draw Ratsnest with arcs to avoid overlap 2019-04-12 00:28:58 +01:00
common Fix a bunch of issues with hotkeys, IDs and event processing. 2019-05-06 21:42:00 +01:00
cvpcb Move to direct tool registration. 2019-05-05 17:14:30 +01:00
demos Update demos to use recent footprints. 2019-04-07 17:07:57 +02:00
dxflib_qcad dxf and svg import: accept unicode filenames 2018-12-07 10:07:43 +01:00
eeschema Handle higher-priority connection drivers located in subsheets 2019-05-06 22:09:05 -04:00
gerbview Homogenize hit testing and selection return types. 2019-05-05 17:14:30 +01:00
helpers Update tools_to_build_newstroke-font files to V5 2018-04-06 20:09:32 +02:00
include Fix a bunch of issues with hotkeys, IDs and event processing. 2019-05-06 21:42:00 +01:00
kicad Fix colliding hotkeys issue. 2019-05-05 17:12:59 +01:00
libs Sexpr: needs to be a STATIC lib 2019-04-24 17:31:22 +01:00
new Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
pagelayout_editor Fix a bunch of issues with hotkeys, IDs and event processing. 2019-05-06 21:42:00 +01:00
patches Remove macos patches. 2018-01-31 10:18:41 -05:00
pcb_calculator pcb_calculator: Minor fixes in strings and tool tips 2019-05-03 10:44:29 +02:00
pcbnew Fix a bunch of issues with hotkeys, IDs and event processing. 2019-05-06 21:42:00 +01:00
plugins 3d: Fix double-clear in oce loadmodel 2018-10-09 05:37:48 -07:00
polygon Build: libpolygon provides its own includes 2019-02-04 19:29:31 -08:00
potrace Update potrace to version 1.15 (that fixes some bugs) 2017-11-27 12:54:18 +01:00
qa Move to direct tool registration. 2019-05-05 17:14:30 +01:00
resources/linux Revert "appdata.xml: Remove additional license metadata" 2019-03-31 14:33:59 -04:00
scripting Updating icon build paths 2019-02-14 14:58:04 -08:00
scripts Cleanup build script locations 2019-02-14 14:44:55 -08:00
template Implement a copper-to-edge-clearance setting. 2019-04-05 22:18:44 +01:00
tools Formatting: exclude generated files from git formatting hook 2019-03-29 15:06:48 +00:00
utils Use old-style boost includes 2019-04-22 01:02:13 +01:00
.gitattributes Formatting: exclude generated files from git formatting hook 2019-03-29 15:06:48 +00:00
.gitignore Eclipse support in gitignore 2019-05-01 14:48:24 -05:00
AUTHORS.txt Added Italian translator 2019-02-26 08:54:47 +01:00
CMakeLists.txt QA: Allow to build tests manually if disabled 2019-04-17 18:00:40 +01:00
CTestConfig.cmake See CHANGELOG.txt 2010-02-14 14:59:43 +00:00
Doxyfile Doxyfiles: Remove local debug lines 2019-02-13 17:22:07 -08:00
INSTALL.txt Docs: Fix doxygen links 2019-01-02 09:53:29 -05: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.README Adding license information for demo files 2019-03-27 14:46:00 -04:00
README.txt Cleanup build script locations 2019-02-14 14:44:55 -08:00
TODO.txt Modular KiCad Blueprint Milestone B), major portions: 2014-08-13 15:28:54 -05:00
_clang-format Format: Default to switch cases on separate lines by default 2019-05-07 09:49:05 +01:00
copyright.h Update copyright.h 2018-01-08 16:53:05 +01: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