Ian McInerney
ea62b145ff
Introduce core interface library
This library is meant to move non-EDA items (language extensions,
library extensions, etc.) into the lowest-level of our dependency chain.
This library should never depend on anyother non-thirdparty code in the
kicad codebase.
3 years ago
Nimish Telang
f7bf3011fb
Use bundled Find{CURL,ZLIB}.cmake
3 years ago
Ian McInerney
a6ebd60c3b
CMake: Modernize Boost import to use imported targets
3 years ago
Jeff Young
2d6ab62da4
ADDED: schematic/library diff for symbols.
3 years ago
aris-kimi
22bca5c2a0
Disable link maps by default and fix compile issue with lld linker
The link maps were actually disabled by default before
912f1d5cec
, and required KICAD_MAKE_LINK_MAPS
to be provided to enable them. So switch back to disabling them by
default.
Also, The lld linker is unable to accept a single dash cref option, while
ld and gold can. Instead, use the double dash version that is supported
by all three.
xref: https://github.com/llvm/llvm-project/issues/60932
Co-authored-by: aris-kimi <aris_kimi@hotmail.com>
Co-authored-by: Ian McInerney <ian.s.mcinerney@ieee.org>
3 years ago
Ian McInerney
912f1d5cec
Modernize setting link map linker flags
3 years ago
Ian McInerney
bcb93e9aa7
Modernize setting of compiler definitions in CMake
add_compile_definitions was added in 3.12, and our minimum is now
greater than that.
3 years ago
jean-pierre charras
90c5ede1e6
pcbnew: move DIALOG_PAD_PROPERTIES_BASE from dialog_pad_properties to its own files.
dialog_pad_properties_base.fbp included to many dialog descriptions.
3 years ago
qu1ck
a369fd6a9c
Fix swig optimization flag causing incompatible codegen
3 years ago
Seth Hillbrand
6271917682
Remove deprecated -py3 flag, use -O for swig
3 years ago
Marek Roszko
8ab9934143
Use our own cmake module path variable to avoid conflicting with the main ones listy functional
3 years ago
Marek Roszko
020f8f61db
Let's try fixing the doxygen-python again
3 years ago
Marek Roszko
e152cf0a92
Undo one doxygen-python build change, remains broken
3 years ago
Marek Roszko
8bfec30761
Fix the pcbnew.py dependency causing the doxygen to fail
The doxygen-python target recreates pcbnew.py that got deleted by xml-to-docstrings
3 years ago
Marek Roszko
caeb579174
Fix the dependencies for the python doxygen build
DEPENDS was being used for targets which is invalid for add_custom_target...as confusing as that is.
It is files only.
3 years ago
Simon Richter
b5cb9eccbf
Generate dependency files from Swig
The wrapper is only rebuilt if one of the files that were parsed during
generation has changed.
3 years ago
Jeff Young
c0872364d4
Get rid of bloated bitmap buttons on wxWidgets 3.2.
3 years ago
Alexander Dewing
02325130fa
Initial arm64 work
4 years ago
Jon Evans
64f315c649
Move properties panel to widgets with the other AUI panels
3 years ago
jean-pierre charras
f51db4e093
Fix some Coverity and compil warnings.
3 years ago
Marek Roszko
cedef5912e
Link to zlib for pcbnew due to step
3 years ago
jean-pierre charras
49ff3513e7
Add missing lib (libz) in lib list to link on msys2
3 years ago
Marek Roszko
3dd2ae762d
Refactor step export to use our normal board processing routines
3 years ago
Marek Roszko
cd30da179a
Round out the cli with position file export
3 years ago
Marek Roszko
bc45ae1b72
Move a dialog that was hiding in the filetree
3 years ago
Jeff Young
11dc5424cb
Pull interactive courtyard checker out of move tool to share with router.
Fixes https://gitlab.com/kicad/code/kicad/issues/12594
3 years ago
Marek Roszko
aaa1d166a7
Redirect step export output to a pretty window
3 years ago
Marek Roszko
3fe004fd1b
New kicad-cli will now be the cli interface
3 years ago
Mark Roszko
fb8a4c10f7
Shove kicad2step into pcbnew itself with a new cli
3 years ago
Alex
4095172259
ADDED: Pack and Move Footprints, improved footprint spread algorithm.
3 years ago
Mark Roszko
b00178adb3
Nuke base_units from orbit
3 years ago
jean-pierre charras
397a93029e
Fix some outdated things (mainly about fix_swig_imports.py, useless with swig version 4)
Fixes #12414
https://gitlab.com/kicad/code/kicad/issues/12414
3 years ago
Mark Roszko
f304e2d4f6
ADDED: Search/inspect pane
3 years ago
Marek Roszko
fc99b3ba95
Don't link gdiplus everywhere anymore
Tested on msys2 which is the only place it would have been buggy
CMake seems to share the gdiplus linkage with the other dependencies automatically now
3 years ago
Maciej Suminski
f6f6ebd5f9
WIP: Properties GUI
6 years ago
Marek Roszko
b6b4ae959e
Shuffle around the helper script folders
3 years ago
Mike Williams
d44e34d513
Images: Add full properties editor
Converts dialog_image_editor to panel_image_editor. Embeds this panel in
a new properties dialog for the schematic and PCB editors that allows
editing position, layer, locked status, etc. like other items.
3 years ago
Mike Williams
3669cb4673
PCB Editor: Add User Background Images
4 years ago
Seth Hillbrand
3081023b5e
ADDED: Minimum copper connection width DRC check
Checks all copper connections in each net/layer for minimum width
setting.
Fixes https://gitlab.com/kicad/code/kicad/issues/9870
3 years ago
Ian McInerney
4e4b0962db
Create python subdirectory in pcbnew build for the symlink
3 years ago
Seth Hillbrand
03c279ffd4
ADDED: Threadpool
Thread pools are long-lasting executors that have close to zero overhead
when launching new jobs. This is advantageous over creating new threads
as we can use this for threading smalling jobs and smaller quanta. It
also avoids the heuristics needed to determine the optimal number of
threads to spawn
3 years ago
Ian McInerney
f303d78723
Fix install of _pcbnew.so to allow DESTDIR to be used with it
We need to use the install directive to do an install so that the
install process uses all the variables correctly. So create a temporary
symlink in the build directory that points to nowhere and then install
that.
3 years ago
Ian McInerney
44a8f1e6e6
Create the symlink for the python module in the build tree as well
The unit tests need the python module to be loadable, so there needs to
also be a symlink to the kiface inside the build directory.
3 years ago
Ian McInerney
9bb5beb264
Use symlink to pcbnew kiface for python module on Linux
Instead of installing an identical shared library into the Python
folder, just use a link to the existing library instead.
Fixes https://gitlab.com/kicad/code/kicad/issues/9974
3 years ago
Ian McInerney
b51d8c9825
Introduce new CMake variable to store kiface install location
3 years ago
Seth Hillbrand
3ddd287004
Revert "Fixup python module install"
This reverts commit 6fd60c5561
.
Worked only for a single make. Second run fails due to missing file
3 years ago
Seth Hillbrand
6fd60c5561
Fixup python module install
INSTALL(FILE) does not handle setting linux-specific attributes in the
same way that INSTALL(TARGET) does. This patch is suggested by
StefanBruens
Fixes https://gitlab.com/kicad/code/kicad/issues/9974
3 years ago
jean-pierre charras
57e59a4959
Pcbnew, on line DRC when moving footprints: add visible collisions between courtyards
3 years ago
Jeff Young
deeb7d4d6d
Make use of board stackup data when exporting VRML.
Specifically layer colors and board thickness.
Fixes https://gitlab.com/kicad/code/kicad/issues/11627
3 years ago
Jeff Young
30ecca464d
Rename mechanical_clearance -> physical_clearance.
Fixes https://gitlab.com/kicad/code/kicad/issues/11554
3 years ago