kicad patches
Go to file
Mika Laitio 1e21daf781 fix if comparison with uninitialized member value
Fix the valgrind warning from the use of an uninitialized
member variable by setting the DEFAULT value for
m_currentNativeCursor in the constructors member initializer list.
This fixes the following warning caused by the SetNativeCursorStyle
method call later on the constructor.

==66660== Warning: client switching stacks?  SP change: 0x1ffeffee40 --> 0xdf7efe8
==66660==          to suppress, use: --max-stackframe=137187819096 or greater
==66660== Conditional jump or move depends on uninitialised value(s)
==66660==    at 0x13F0764E: UnknownInlinedFun (graphics_abstraction_layer.cpp:276)
==66660==    by 0x13F0764E: KIGFX::GAL::GAL(KIGFX::GAL_DISPLAY_OPTIONS&) (graphics_abstraction_layer.cpp:78)

Error can be reproduced and checked from the log.txt
by launching kicad with valgrind command
"valgrind --leak-check=full kicad > log.txt 2>&1"
and then launching the footprint editor from the kicad main dialog.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8784

Signed-off-by: Mika Laitio <lamikr@gmail.com>
2021-07-15 16:18:24 +00:00
.githooks Formatting: prefer a Git config variable to env var 2019-03-29 15:06:48 +00:00
.github Correct CERN funding link 2020-10-01 13:48:54 -07:00
.gitlab Fix PNS Test App and enable build option in CI 2021-06-24 11:24:50 +00:00
3d-viewer Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
CMakeModules Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
Documentation Ensure cmake commands depend on the cmake file they use 2021-01-28 00:24:22 +00:00
bitmap2component Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
bitmaps_png Error out if tar can't be found. 2021-06-19 19:41:03 +00:00
common fix if comparison with uninitialized member value 2021-07-15 16:18:24 +00:00
cvpcb Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
demos Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
eeschema Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
gerbview Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
helpers Replace tabs with spaces 2021-04-05 01:13:39 +00:00
include Double click on defined colour executes OK action 2021-07-14 23:26:40 +00:00
kicad Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
libs Implement explicit polygon construction for most pad shapes 2021-07-13 14:51:58 +00:00
pagelayout_editor Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
pcb_calculator Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
pcbnew Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
plugins Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
qa Fix test case. 2021-07-08 18:23:28 +01:00
resources Let gerbview open multiple files through Linux desktops 2021-07-06 21:22:04 +01:00
scripting Re-direct help() output to console 2021-07-12 16:22:07 -07:00
scripts Remove ddr3_length_match.py 2020-11-20 08:10:53 +00:00
template Update project template system for new format 2020-07-02 22:08:54 -04:00
thirdparty Clipper: Use std::function for Z fill callback 2021-07-03 19:37:50 +00:00
tools Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
translation French translation update 2021-07-12 13:11:03 +02:00
utils Add pdb install option for msvc 2021-07-14 23:42:45 -04:00
.clang-tidy Adding default clang-tidy parameters 2019-12-05 19:48:50 -08:00
.gitattributes Renormalize line endings and enforce normalization for all contributors 2020-08-03 23:15:10 +01:00
.gitignore Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
.gitlab-ci.yml Bump Fedora CI images to latest version 2021-06-15 22:51:37 +01:00
AUTHORS.txt Add myself to AUTHORS.txt 2021-05-15 12:26:50 +00:00
CMakeLists.txt Fix typo in the new option 2021-07-15 16:01:38 +00:00
CMakeSettings.json.sample Remove additional no longer needed parameters in CMakeSettings.json.sample 2021-06-19 14:27:42 -04:00
CONTRIBUTING.md Update links 2021-05-18 19:56:11 -04:00
Doxyfile Add custom doxygen layout to add link to dev-docs 2021-01-02 08:39:56 -05:00
DoxygenLayout.xml Replace tabs with spaces 2021-04-05 01:13:39 +00:00
INSTALL.txt Clean up and improve documentation 2021-04-05 01:13:39 +00:00
LICENSE Set project license file to GPLv3 for GitLab 2020-07-05 08:56:17 -07: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 Clean up and improve documentation 2021-04-05 01:13:39 +00:00
README.md Clean up and improve documentation 2021-04-05 01:13:39 +00:00
_clang-format Remove clang-format 11+ option 2020-12-15 19:09:46 -05:00
code-of-conduct.md Add Code of Conduct 2020-03-26 11:10:34 -05:00
copyright.h Update the year to 2021 in copyright.h. 2021-02-01 12:58:30 -05:00
uncrustify.cfg Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00

README.md

KiCad README

For specific documentation about building KiCad, policies and guidelines, and source code documentation see the Developer Documentation website.

You may also take a look into the Wiki, the contribution guide.

For general information about KiCad and information about contributing to the documentation and libraries, see our Website and our Forum.

Build state

Jenkins Jenkins Jenkins

Release status

latest released version(s) Release status

Files

  • AUTHORS.txt - The authors, contributors, document writers and translators list
  • CMakeLists.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
  • 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 (deprecated; moved to https://dev-docs.kicad.org)
  • 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
  • libs - Sourcecode of KiCad utilities (geometry and others)
  • pagelayout_editor - Sourcecode of the pagelayout editor
  • patches - Collection of patches for external dependencies
  • pcbnew - Sourcecode of the printed circuit board editor
  • plugins - Sourcecode for the 3D viewer plugins
  • qa - Unit testing framework for KiCad
  • resources - Packaging resources for various operating systems
  • scripting - SWIG Python scripting definitions and build scripts
  • scripts - Example scripts for distribution with KiCad
  • template - Project template
  • thirdparty - Sourcecode of external libraries used in KiCad but not written by the KiCad team
  • tools - Other miscellaneous helpers for testing
  • translation - Translation data files (managed through Weblate for most languages)
  • utils - Small utils for KiCad, e.g. IDF, STEP, and OGL tools and converters