kicad patches
Go to file
Shawn Anastasio 3e22b75948 Fix libcontext on PPC64 ELFv2
libcontext currently restores and saves the FPSCR register
on ppc64. This behavior is fine (though unnecessary) on the
ELFv1 ABI which designates the register as volatile, but has
been observed to cause crashes on ELFv2 systems.

The ELFv2 ABI designates the FPSCR register as Limited-access
and specifies specific conditions that must be met to clobber
it. It does not seem that a context swap function meets these
conditions (and indeed, the save/restore register example in the
ABI document does not modify FPSCR).

This patch fixes ELFv2 ABI compliance by removing the FPSCR
save/restore code in libcontext entirely. This fixes observed
crashes on the platform and should have no consequence for
ELFv1 support.

Fixes: lp:1840088
* https://bugs.launchpad.net/kicad/+bug/1840088
2019-08-14 11:16:40 -07:00
.githooks Formatting: prefer a Git config variable to env var 2019-03-29 15:06:48 +00:00
3d-viewer Unify menu item creation for closing a window 2019-08-14 09:35:15 +01:00
CMakeModules Remove own copy of FindOpenSSL.cmake 2019-07-17 08:10:47 -04:00
Documentation Bump C++ version to c++14 2019-07-10 20:03:48 -07:00
bitmap2component bitmap2component: set polygons outlines thickness to 0.0 in kicad_mod export format. 2019-07-24 15:35:15 +02:00
bitmaps_png Mirror add zone icon so it's different from zone display mode icon. 2019-08-14 12:46:18 +01:00
common Fix libcontext on PPC64 ELFv2 2019-08-14 11:16:40 -07:00
cvpcb Unify menu item creation for closing a window 2019-08-14 09:35:15 +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 CERN copyrights for work packages. 2019-08-14 09:35:15 +01:00
gerbview CERN copyrights for work packages. 2019-08-14 09:35:15 +01:00
helpers Format: add some formatting aliases, improve dev docs 2019-05-23 21:28:42 +01:00
include Don't try and be too smart about scaling and worksheets. 2019-08-14 11:37:10 +01:00
kicad CERN copyrights for work packages. 2019-08-14 09:35:15 +01:00
libs C++14: Remove unused make_unique.h 2019-08-07 09:27:31 -07:00
new Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
pagelayout_editor CERN copyrights for work packages. 2019-08-14 09:35:15 +01:00
patches Remove macos patches. 2018-01-31 10:18:41 -05:00
pcb_calculator PCB calculator: fix regulator dialog layout. 2019-08-12 09:30:46 -04:00
pcbnew Unify menu item creation for closing a window 2019-08-14 09:35:15 +01:00
plugins 3d: Fix double-clear in oce loadmodel 2018-10-09 05:37:48 -07:00
polygon Add more control over how corners are handled when inflating polygons. 2019-07-16 16:41:21 +01:00
potrace Update potrace to version 1.15 (that fixes some bugs) 2017-11-27 12:54:18 +01:00
qa C++14: Remove unused make_unique.h 2019-08-07 09:27:31 -07:00
resources/linux Revert "appdata.xml: Remove additional license metadata" 2019-03-31 14:33:59 -04:00
scripting Update ngspice build tool script to ngspice-30 2019-07-10 09:17:34 -04: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 Format: add some formatting aliases, improve dev docs 2019-05-23 21:28:42 +01:00
utils pcbnew: Fix export of edge.cuts layer to STEP format 2019-05-29 19:42:46 -07:00
.gitattributes Formatting: exclude generated files from git formatting hook 2019-03-29 15:06:48 +00:00
.gitignore Set KiCad version in MacOS apps 2019-06-12 04:40:03 -07:00
AUTHORS.txt Correcting missing detail in Chinese translator 2019-08-12 17:08:17 -07:00
CMakeLists.txt Add Valgrind stack instrumentation 2019-08-10 08:28:25 -07: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.MIT Adding MIT license 2019-06-09 08:43:43 -07:00
LICENSE.README Adding MIT license 2019-06-09 08:43:43 -07: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 pl_editor rework: add a design inspector (similar to what was existing previously, but as a dialog) 2019-06-14 20:48:50 +02: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